Filter class

๐Ÿ”ฌ Filter

A ๐ŸŒŸ Surface may be provided a ๐Ÿ”ฌ Filter to alter filter appearance at all ๐Ÿ“š SurfaceLayers.

Constructors

Filter({Set<SurfaceLayer> filteredLayers = BASE, Map<SurfaceLayer, double>? radiusMap, double? baseRadius, double? materialRadius, double? childRadius, bool extendBaseFilter = false, SurfaceFX effect = FX.blurry})
๐Ÿ”ฌ Filter
const

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 ๐Ÿ“š SurfaceLayers 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 Maps one or more ๐Ÿ“š SurfaceLayers to a double that determines the ๐Ÿคนโ€โ™‚๏ธ SurfaceFX radius 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 specific double (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