Shadows class final
A Scrim as stacked blurred copies of the glyph; see Scrim.shadows.
To draw: one zero-offset shadow per layerOpacities entry, in Scrim.scrimArgb, blurred by blurRadius, under the glyph.
- Available extensions
Properties
- blurRadius → double
-
The rounded radius to draw every layer with.
final
- edgeCoverage → double
-
Modeled share of one layer's alpha landing on the first pixel outside
the glyph. For audits and golden tests.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
layerOpacities
→ List<
double> -
One alpha per layer, all equal. Empty when nothing needs drawing.
final
- meetsTarget → bool
-
Whether drawing this is expected to meet the target. Unlike
Scrim.meetsTarget, which is exact, this rests on a model of blur
falloff calibrated on long straight edges; corners and very thin
strokes deviate. False also when the scrim is infeasible, the blur is
zero, or the layer cap was hit.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrim → Scrim
-
final
-
textShadows
→ List<
Shadow> -
Available on Shadows, provided by the ShadowsFlutter extension
ForTextStyle.shadows.no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited