copyWith method

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

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

Parameters

Implementation

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