Filter class
๐ฌ Filter
A ๐ Surface may be provided a ๐ฌ Filter to alter filter appearance at all ๐ SurfaceLayers.
Constructors
Properties
- baseRadius โ double?
-
Instead of initializing a ๐ radiusMap, opt to
pass a specific layer's ๐คนโโ๏ธ effect radius with this property.
final
- childRadius โ double?
-
Instead of initializing a ๐ radiusMap, opt to
pass a specific layer's ๐คนโโ๏ธ effect radius with this property.
final
- effect โ SurfaceFX
-
๐คนโโ๏ธ Surface FX
final
- extendBaseFilter โ bool
-
If extendBaseFilter is
true
, the BackdropFilter for ๐ SurfaceLayer.BASE will extend to cover the Surface.margin padding.final -
filteredLayers
โ Set<
SurfaceLayer> -
Provide a
Set{}
to ๐ filteredLayers to specify which ๐SurfaceLayer
s will have an effect ๐คนโโ๏ธ SurfaceFX enabled.final - hashCode โ int
-
The hash code for this object.
no setterinherited
- literalRadiusBase โ double
-
no setter
- literalRadiusChild โ double
-
no setter
- literalRadiusMaterial โ double
-
no setter
- materialRadius โ double?
-
Instead of initializing a ๐ radiusMap, opt to
pass a specific layer's ๐คนโโ๏ธ effect radius with this property.
final
-
radiusMap
โ Map<
SurfaceLayer, double> ? -
๐ radiusMap
Map
s one or more ๐SurfaceLayer
s to adouble
that determines the ๐คนโโ๏ธ SurfaceFXradius
for that layer's ๐คนโโ๏ธ effect.final - runtimeType โ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) โ dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
radiusByLayer(
SurfaceLayer layer) โ double -
Check if ๏ฟฝ radiusMap has a value for this ๐
layer
and return if so; if not, then check if this ๐layer
was initialized a specificdouble
(such as ๏ฟฝ baseRadius) and return if so; finally, if all else fails, return const_BLUR
-
toString(
) โ String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) โ bool -
The equality operator.
inherited
Constants
-
BASE
โ const Set<
SurfaceLayer> - ๐ Base
-
BASE_AND_CHILD
โ const Set<
SurfaceLayer> - ๐ Base & Child
-
BASE_AND_MATERIAL
โ const Set<
SurfaceLayer> - ๐ Base & Material
-
CHILD
โ const Set<
SurfaceLayer> - ๐ Child
- DEFAULT โ const Filter
-
A new ๐ Surface defaults ๐ฌ Surface.filter to this DEFAULT,
which differs from a
(new) FilterSpec
. -
INNER_BILAYER
โ const Set<
SurfaceLayer> - ๐ Inner Bilayer
-
MATERIAL
โ const Set<
SurfaceLayer> - ๐ Material
-
NONE
โ const Set<
SurfaceLayer> - ๐ None
-
TRILAYER
โ const Set<
SurfaceLayer> - ๐ Trilayer