copyWith method
- @useResult
- Duration? duration,
- Curve? curve,
- Animatable<
double> ? tween,
Returns a copy of this FCircularProgressMotion with the given properties replaced.
Parameters
- FCircularProgressMotion.duration - The duration of one full rotation.
- FCircularProgressMotion.curve - The animation curve.
- FCircularProgressMotion.tween - The rotation's tween.
Implementation
@useResult
FCircularProgressMotion copyWith({Duration? duration, Curve? curve, Animatable<double>? tween}) =>
FCircularProgressMotion(
duration: duration ?? this.duration,
curve: curve ?? this.curve,
tween: tween ?? this.tween,
);