LinearGradientUtility<T extends Attribute> class

Utility class for creating and manipulating LinearGradient attributes.

Accepts a builder function that takes a LinearGradientDto and returns an object of type T.

Inheritance
Annotations

Constructors

LinearGradientUtility(T builder(LinearGradientDto))

Properties

begin AlignmentUtility<T>
latefinal
builder → T Function(LinearGradientDto)
finalinherited
end 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(LinearGradient value) → T
inherited
call({List<Color>? colors, List<double>? stops, AlignmentGeometry? begin, AlignmentGeometry? end, TileMode? tileMode, GradientTransform? transform}) → T
colors(List<Color> v) → T
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
only({List<ColorDto>? colors, List<double>? stops, AlignmentGeometry? begin, AlignmentGeometry? end, TileMode? tileMode, GradientTransform? transform}) → T
override
stops(List<double> v) → T
toString() String
A string representation of this object.
inherited

Operators

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