copyWith method
Returns a copy of this FRadioMotion with the given properties replaced.
Parameters
- FRadioMotion.duration - The duration of the animation when selected.
- FRadioMotion.reverseDuration - The duration of the reverse animation when unselected.
- FRadioMotion.curve - The curve of the animation.
Implementation
@useResult
FRadioMotion copyWith({Duration? duration, Duration? reverseDuration, Curve? curve}) => FRadioMotion(
duration: duration ?? this.duration,
reverseDuration: reverseDuration ?? this.reverseDuration,
curve: curve ?? this.curve,
);