copyWith method
Returns a copy of this FDeterminateProgressMotion with the given properties replaced.
Parameters
- FDeterminateProgressMotion.duration - The animation's duration for a full progress from 0.
- FDeterminateProgressMotion.curve - The animation curve.
Implementation
@useResult
FDeterminateProgressMotion copyWith({Duration? duration, Curve? curve}) =>
FDeterminateProgressMotion(duration: duration ?? this.duration, curve: curve ?? this.curve);