SurfaceFilter enum
👓 SurfaceFilter
Defines complex BackdropFilter layout options for entire Surface.
A blur filter under Surface.child and under Surface.innerMaterial
will
be a different rectangle (and thus will not be duplicates of each other) only
if Surface.paddingStyle !=
SurfacePadding.PAD_CHILD and Surface.padding
is passed a non-negligible value.
It is only then that the child is offset from the Surface.innerMaterial
itself.
enum value Effect
-----------------------------------------------------------------
NONE 0 blur filters
TRILAYER 3 blur filters - one at each layer of build.
INNER_BILAYER 2 blur filters - absent under [Surface.borderContainer]
SURFACE_AND_CHILD 2 blur filters - absent under [Surface.innerMaterial]
SURFACE_AND_MATERIAL 2 blur filters - absent under [Surface.child]
SURFACE 1 blur filter - only under [Surface.borderContainer]
MATERIAL 1 blur filter - only under [Surface.innerMaterial]
CHILD 1 blur filter - only under [Surface.child]
Constants
- CHILD → const SurfaceFilter
-
1x blur filter; only under Surface.child after any padding from
Surface.innerMaterial
.const SurfaceFilter(7)
- INNER_BILAYER → const SurfaceFilter
-
2x blur filters; absent under
Surface.borderContainer
. The Surface border will have no blur; and the blur under the child may appear doubled unless the child is padded from the inner Material with Surface.paddingStyle==
SurfacePadding.PAD_SURFACEconst SurfaceFilter(2)
- MATERIAL → const SurfaceFilter
-
1x blur filter; only under
Surface.innerMaterial
after any inset from theborderContainer
'sborderThickness
.const SurfaceFilter(6)
- NONE → const SurfaceFilter
-
No filters.
const SurfaceFilter(0)
- SURFACE → const SurfaceFilter
-
1x blur filter; under
Surface.borderContainer
and the entire Surface as a result.const SurfaceFilter(5)
- SURFACE_AND_CHILD → const SurfaceFilter
-
2x blur filters; absent under
Surface.innerMaterial
. Functions like SurfaceFilter.SURFACE_AND_MATERIAL if the child is not padded from the inner Material.const SurfaceFilter(3)
- SURFACE_AND_MATERIAL → const SurfaceFilter
-
2x blur filters; absent under Surface.child. Functions like SurfaceFilter.SURFACE_AND_CHILD if the child is not padded from the inner Material.
const SurfaceFilter(4)
- TRILAYER → const SurfaceFilter
-
3x blur filters, one at each layer of build:
- under
Surface.borderContainer
- under
Surface.innerMaterial
- under Surface.child
const SurfaceFilter(1)
- under
-
values
→ const List<
SurfaceFilter> -
A constant List of the values in this enum, in order of their declaration.
const List<
SurfaceFilter>
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