copyWith method

  1. @useResult
FPopoverMenuMotion copyWith({
  1. double? fade,
  2. Duration? fadeDuration,
  3. Curve? fadeCurve,
})

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

Parameters

Implementation

@useResult
FPopoverMenuMotion copyWith({double? fade, Duration? fadeDuration, Curve? fadeCurve}) => .new(
  fade: fade ?? this.fade,
  fadeDuration: fadeDuration ?? this.fadeDuration,
  fadeCurve: fadeCurve ?? this.fadeCurve,
);