copyWith method

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

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

Parameters

Implementation

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