copyWith method
Returns a copy of this FPopoverMenuMotion with the given properties replaced.
Parameters
- FPopoverMenuMotion.fade - The fade applied to the parent menu when a submenu is active.
- FPopoverMenuMotion.fadeDuration - The fade duration.
- FPopoverMenuMotion.fadeCurve - The fade curve.
Implementation
@useResult
FPopoverMenuMotion copyWith({double? fade, Duration? fadeDuration, Curve? fadeCurve}) => .new(
fade: fade ?? this.fade,
fadeDuration: fadeDuration ?? this.fadeDuration,
fadeCurve: fadeCurve ?? this.fadeCurve,
);