copyWith method
📋 Returns a copy of this Crinkle
with the provided optional
parameters overriding those of this
.
Implementation
Crinkle copyWith({
bool? isAnimated,
bool? shouldReverse,
double? min,
double? max,
Scalar? scalar,
Duration? period,
TransformGradient? transform,
}) =>
Crinkle(
isAnimated: isAnimated ?? this.isAnimated,
shouldReverse: shouldReverse ?? this.shouldReverse,
min: min ?? this.min,
max: max ?? this.max,
scalar: scalar ?? this.scalar,
period: period ?? this.period,
transform: transform ?? this.transform,
);