LinearGradientDto class DTO

Represents a Data transfer object of LinearGradient

This is used to allow for resolvable value tokens, and also the correct merge and combining behavior. It allows to be merged, and resolved to a `LinearGradient

See also:

Inheritance
Annotations

Constructors

LinearGradientDto({AlignmentGeometry? begin, AlignmentGeometry? end, TileMode? tileMode, GradientTransform? transform, List<ColorDto>? colors, List<double>? stops})
const

Properties

begin AlignmentGeometry?
final
colors List<ColorDto>?
finalinherited
end AlignmentGeometry?
final
hashCode int
The hash code for this object.
no setterinherited
props List<Object?>
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stops List<double>?
finalinherited
stringify bool
no setterinherited
tileMode TileMode?
final
transform GradientTransform?
finalinherited

Methods

getDiff(EqualityMixin other) Map<String, String>
inherited
merge(covariant LinearGradientDto? other) LinearGradientDto
Merges LinearGradientDto with another other [LinearGradientDto
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(MixData mix) LinearGradient
Resolves LinearGradientDto given a MixData into a LinearGradient
override
toString() String
A string representation of this object.
inherited

Operators

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