copyWith method

  1. @useResult
FDeterminateProgressMotion copyWith({
  1. Duration? duration,
  2. Curve? curve,
})

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

Parameters

Implementation

@useResult
FDeterminateProgressMotion copyWith({Duration? duration, Curve? curve}) =>
    FDeterminateProgressMotion(duration: duration ?? this.duration, curve: curve ?? this.curve);