copyWith method
Implementation
LinearGradientSpec copyWith({
Vec2? start,
Vec2? end,
Iterable<GradientStop>? stops,
}) => LinearGradientSpec(
start: start ?? this.start,
end: end ?? this.end,
stops: stops ?? this.stops,
);
LinearGradientSpec copyWith({
Vec2? start,
Vec2? end,
Iterable<GradientStop>? stops,
}) => LinearGradientSpec(
start: start ?? this.start,
end: end ?? this.end,
stops: stops ?? this.stops,
);