EffectFields class abstract final

Properties

hashCode → int
The hash code for this object.
no setterinherited
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
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

all → const List<PropDef<Object?>>
blendMode → const PropDef<BlendMode>
How the effect blends with what is under it.
blurRadius → const PropDef<double>
How soft the shadow or blur is, in pixels.
color → const PropDef<Color>
The shadow's color.
id → const PropDef<String?>
An id a binding can select the effect by (decoration.effects.glow.color).
offset → const PropDef<Offset>
The shadow's offset [dx, dy] in pixels.
shape → const PropDef<DecorationShape>
A rectangle (rounded by radius) or a circle (BoxShape.circle).
spreadRadius → const PropDef<double>
How far the shadow grows past the box before blurring, in pixels.
type → const PropDef<EffectType>
The effect: dropShadow, innerShadow, layerBlur (blurs the node) or backgroundBlur (blurs what is behind it: frosted glass). Required: an effect without a type is dropped.
visible → const PropDef<bool>
False keeps the effect but does not draw it.