FDialogMotion constructor

const FDialogMotion({
  1. Curve expandCurve = Curves.easeOutCubic,
  2. Curve collapseCurve = Curves.easeInCubic,
  3. Curve fadeInCurve = Curves.linear,
  4. Curve fadeOutCurve = Curves.linear,
  5. Animatable<double> scaleTween = const FImmutableTween(begin: 0.95, end: 1.0),
  6. Animatable<double> fadeTween = const FImmutableTween(begin: 0.0, end: 1.0),
  7. Duration insetDuration = const Duration(milliseconds: 100),
  8. Curve insetCurve = Curves.decelerate,
})

Creates a FDialogMotion.

Implementation

const FDialogMotion({
  this.expandCurve = Curves.easeOutCubic,
  this.collapseCurve = Curves.easeInCubic,
  this.fadeInCurve = Curves.linear,
  this.fadeOutCurve = Curves.linear,
  this.scaleTween = const FImmutableTween(begin: 0.95, end: 1.0),
  this.fadeTween = const FImmutableTween(begin: 0.0, end: 1.0),
  this.insetDuration = const Duration(milliseconds: 100),
  this.insetCurve = Curves.decelerate,
});