FDialogMotion constructor
const
FDialogMotion({
- Curve expandCurve = Curves.easeOutCubic,
- Curve collapseCurve = Curves.easeInCubic,
- Curve fadeInCurve = Curves.linear,
- Curve fadeOutCurve = Curves.linear,
- Animatable<
double> scaleTween = const FImmutableTween(begin: 0.95, end: 1.0), - Animatable<
double> fadeTween = const FImmutableTween(begin: 0.0, end: 1.0), - Duration insetDuration = const Duration(milliseconds: 100),
- 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,
});