RadialGradientUtility<T extends Attribute> class
Utility class for creating and manipulating RadialGradient attributes.
Accepts a builder function that takes a RadialGradientDto and returns an object of type T.
- Inheritance
-
- Object
- MixUtility<
T, RadialGradientDto> - DtoUtility<
T, RadialGradientDto, RadialGradient> - RadialGradientUtility
- Annotations
Constructors
- RadialGradientUtility(T builder(RadialGradientDto))
Properties
- builder → T Function(RadialGradientDto)
-
finalinherited
-
center
→ AlignmentUtility<
T> -
latefinal
-
focal
→ AlignmentUtility<
T> -
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
tileMode
→ TileModeUtility<
T> -
latefinal
-
transform
→ GradientTransformUtility<
T> -
latefinal
Methods
-
as(
RadialGradient value) → T -
inherited
-
call(
{List< Color> ? colors, List<double> ? stops, AlignmentGeometry? center, double? radius, AlignmentGeometry? focal, double? focalRadius, TileMode? tileMode, GradientTransform? transform}) → T -
colors(
List< Color> v) → T -
focalRadius(
double v) → T -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
only(
{AlignmentGeometry? center, double? radius, List< ColorDto> ? colors, List<double> ? stops, AlignmentGeometry? focal, double? focalRadius, TileMode? tileMode, GradientTransform? transform}) → T -
override
-
radius(
double v) → T -
stops(
List< double> v) → T -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited