ShadowRef class final

Token reference for Shadow values

Inheritance
Implemented types
Mixed-in types

Constructors

ShadowRef(Prop<Shadow> prop)

Properties

$directives → List<Directive<Shadow>>?
Optional directives to transform the resolved value.
finalinherited
blurRadius → double
The standard deviation of the Gaussian to convolve with the shadow's shape.
finalinherited
blurSigma → double
The blurRadius in sigmas instead of logical pixels.
no setterinherited
color → Color
Color that the shadow will be drawn with.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
hasToken → bool
Whether this property contains at least one token source.
no setterinherited
hasValue → bool
Whether this property contains at least one value source.
no setterinherited
offset → Offset
The displacement of the shadow from the casting element.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sources → List<PropSource<Shadow>>
The list of sources that provide values for this property.
finalinherited
type → Type
The runtime type of the property's value.
no setterinherited

Methods

directives(List<Directive<Shadow>> directives) → Prop<Shadow>
Returns a new property with the given directives merged with existing ones.
inherited
mergeProp(covariant Prop<Shadow>? other) → Prop<Shadow>
Merges this property with another property.
inherited
noSuchMethod(Invocation invocation) → Never
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.
inherited
toPaint() → Paint
Create the Paint object that corresponds to this shadow description.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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