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