copyWith method

AxisFling copyWith({
  1. double? to,
  2. Duration? duration,
  3. Curve? curve,
})

Implementation

AxisFling copyWith({double? to, Duration? duration, Curve? curve}) =>
    AxisFling(
      to: to ?? this.to,
      duration: duration ?? this.duration,
      curve: curve ?? this.curve,
    );