SurfacePadding enum
🔲 SurfacePadding
Defines how passed Surface.padding is applied.
SurfacePadding.PAD_CHILD
gives entire passed padding value to the childSurfacePadding.PAD_SURFACE
applies entire passed padding value to a Padding that surrounds the inner ClipPath where Surface.child eventually residesSurfacePadding.SPLIT
gives half the padding value to theSurface.innerMaterial
and other half to Surface.child
Constants
- PAD_CHILD → const SurfacePadding
-
Give entire padding value to the child
const SurfacePadding(0)
- PAD_SURFACE → const SurfacePadding
-
Apply entire padding value to a Padding that surrounds the inner ClipPath where Surface.child eventually resides
const SurfacePadding(1)
- SPLIT → const SurfacePadding
-
Give half the padding value to the
Surface.innerMaterial
and other half to Surface.childconst SurfacePadding(2)
-
values
→ const List<
SurfacePadding> -
A constant List of the values in this enum, in order of their declaration.
const List<
SurfacePadding>
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited