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.0 to 1.0.
- FDeterminateProgressMotion.curve - The animation curve.
Implementation
@useResult
FDeterminateProgressMotion copyWith({Duration? duration, Curve? curve}) =>
.new(duration: duration ?? this.duration, curve: curve ?? this.curve);