Shadow class Null safety
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.
read-only
- color → Color
-
Color that the shadow will be drawn with.
final
- hashCode → int
-
The hash code for this object.
read-onlyoverride
- offset → Offset
-
The displacement of the shadow from the casting element.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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