copyWith method
Returns a copy of this FProgressMotion with the given properties replaced.
Parameters
- FProgressMotion.period - The animation's period.
- FProgressMotion.interval - The interval between animations.
- FProgressMotion.curve - The animation curve.
- FProgressMotion.value - The percentage of the filled progress.
Implementation
@useResult
FProgressMotion copyWith({Duration? period, Duration? interval, Curve? curve, double? value}) => FProgressMotion(
period: period ?? this.period,
interval: interval ?? this.interval,
curve: curve ?? this.curve,
value: value ?? this.value,
);