copyWith method
StrokeOptions
copyWith({
- double? size,
- double? thinning,
- double? smoothing,
- double? streamline,
- NumericEasing? easing,
- bool? simulatePressure,
- TaperOptions? start,
- TaperOptions? end,
- bool? last,
Implementation
StrokeOptions copyWith({
double? size,
double? thinning,
double? smoothing,
double? streamline,
NumericEasing? easing,
bool? simulatePressure,
TaperOptions? start,
TaperOptions? end,
bool? last,
}) {
return StrokeOptions(
size: size ?? this.size,
thinning: thinning ?? this.thinning,
smoothing: smoothing ?? this.smoothing,
streamline: streamline ?? this.streamline,
easing: easing ?? this.easing,
simulatePressure: simulatePressure ?? this.simulatePressure,
start: start ?? this.start,
end: end ?? this.end,
last: last ?? this.last,
);
}