copyWith method
RadialSteps
copyWith({
- List<
Color> ? colors, - List<
double> ? stops, - AlignmentGeometry? center,
- double? radius,
- AlignmentGeometry? focal,
- double? focalRadius,
- TileMode? tileMode,
- GradientTransform? transform,
📋 Returns a new copy of this RadialSteps
with any provided
optional parameters overriding those of this
.
Implementation
RadialSteps copyWith({
List<Color>? colors,
List<double>? stops,
AlignmentGeometry? center,
double? radius,
AlignmentGeometry? focal,
double? focalRadius,
TileMode? tileMode,
GradientTransform? transform,
}) =>
RadialSteps(
colors: colors ?? this.colors,
stops: stops ?? this.stops,
center: center ?? this.center,
radius: radius ?? this.radius,
focal: focal ?? this.focal,
focalRadius: focalRadius ?? this.focalRadius,
tileMode: tileMode ?? this.tileMode,
transform: transform ?? this.transform,
);