copyWith method
Returns a copy of this FTabMotion with the given properties replaced.
Parameters
- FTabMotion.duration - The duration of the tab change animation.
- FTabMotion.curve - The curve of the tab change animation.
Implementation
@useResult
FTabMotion copyWith({Duration? duration, Curve? curve}) =>
FTabMotion(duration: duration ?? this.duration, curve: curve ?? this.curve);