Shadow class
A single shadow.
Multiple shadows are stacked together in a TextStyle.
- Implementers
Constructors
Properties
- blurRadius → double
-
The standard deviation of the Gaussian to convolve with the shadow's shape.
final
- blurSigma → double
-
The blurRadius in sigmas instead of logical pixels.
no setter
- color → Color
-
Color that the shadow will be drawn with.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- offset → Offset
-
The displacement of the shadow from the casting element.
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
-
scale(
double factor) → Shadow - Returns a new shadow with its offset and blurRadius scaled by the given factor.
-
toPaint(
) → Paint - Create the Paint object that corresponds to this shadow description.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override