SweepGradientDto class DTO
Represents a Data transfer object of SweepGradient
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 `SweepGradient
See also:
- SweepGradient, which is the Flutter counterpart of this class.
- GradientDto, which is the base class for this class.
- LinearGradientDto, which is another type of gradient DTO.
- RadialGradientDto, which is another type of gradient DTO.
- Inheritance
-
- Object
- Dto<
SweepGradient> - GradientDto<
SweepGradient> - SweepGradientDto
- Annotations
Constructors
-
SweepGradientDto({AlignmentGeometry? center, double? startAngle, double? endAngle, TileMode? tileMode, GradientTransform? transform, List<
ColorDto> ? colors, List<double> ? stops}) -
const
Properties
- center → AlignmentGeometry?
-
final
-
colors
→ List<
ColorDto> ? -
finalinherited
- endAngle → double?
-
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
- startAngle → double?
-
final
-
stops
→ List<
double> ? -
finalinherited
- stringify → bool
-
no setterinherited
- tileMode → TileMode?
-
final
- transform → GradientTransform?
-
finalinherited
Methods
-
getDiff(
EqualityMixin other) → Map< String, String> -
inherited
-
merge(
covariant SweepGradientDto? other) → SweepGradientDto -
Merges SweepGradientDto with another
otherSweepGradientDtooverride -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(
MixData mix) → SweepGradient -
Resolves SweepGradientDto given a MixData into a SweepGradient
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited