copyWith method

  1. @useResult
FProgressMotion copyWith({
  1. Duration? period,
  2. Duration? interval,
  3. Curve? curve,
  4. double? value,
})

Returns a copy of this FProgressMotion with the given properties replaced.

Parameters

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,
);