copyWith method

Crinkle copyWith({
  1. bool? isAnimated,
  2. bool? shouldReverse,
  3. double? min,
  4. double? max,
  5. Scalar? scalar,
  6. Duration? period,
  7. TransformGradient? transform,
})

📋 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,
    );