copyWith method

  1. @useResult
FPopoverMotion copyWith({
  1. Duration? entranceDuration,
  2. Duration? exitDuration,
  3. Curve? expandCurve,
  4. Curve? collapseCurve,
  5. Curve? fadeInCurve,
  6. Curve? fadeOutCurve,
  7. Animatable<double>? scaleTween,
  8. Animatable<double>? fadeTween,
})

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

Parameters

Implementation

@useResult
FPopoverMotion copyWith({
  Duration? entranceDuration,
  Duration? exitDuration,
  Curve? expandCurve,
  Curve? collapseCurve,
  Curve? fadeInCurve,
  Curve? fadeOutCurve,
  Animatable<double>? scaleTween,
  Animatable<double>? fadeTween,
}) => FPopoverMotion(
  entranceDuration: entranceDuration ?? this.entranceDuration,
  exitDuration: exitDuration ?? this.exitDuration,
  expandCurve: expandCurve ?? this.expandCurve,
  collapseCurve: collapseCurve ?? this.collapseCurve,
  fadeInCurve: fadeInCurve ?? this.fadeInCurve,
  fadeOutCurve: fadeOutCurve ?? this.fadeOutCurve,
  scaleTween: scaleTween ?? this.scaleTween,
  fadeTween: fadeTween ?? this.fadeTween,
);