FSidebarItemMotion constructor
const
FSidebarItemMotion({
- Duration expandDuration = const Duration(milliseconds: 200),
- Duration collapseDuration = const Duration(milliseconds: 150),
- Curve expandCurve = Curves.easeOutCubic,
- Curve collapseCurve = Curves.easeInCubic,
- Curve fadeInCurve = Curves.linear,
- Curve fadeOutCurve = Curves.linear,
- Curve iconExpandCurve = Curves.easeOut,
- Curve iconCollapseCurve = Curves.easeOut,
- Animatable<
double> revealTween = const FImmutableTween(begin: 0.0, end: 1.0), - Animatable<
double> fadeTween = const FImmutableTween(begin: 0.0, end: 1.0), - Animatable<
double> iconTween = const FImmutableTween(begin: 0.0, end: 0.25),
Creates a FSidebarItemMotion.
Implementation
const FSidebarItemMotion({
this.expandDuration = const Duration(milliseconds: 200),
this.collapseDuration = const Duration(milliseconds: 150),
this.expandCurve = Curves.easeOutCubic,
this.collapseCurve = Curves.easeInCubic,
this.fadeInCurve = Curves.linear,
this.fadeOutCurve = Curves.linear,
this.iconExpandCurve = Curves.easeOut,
this.iconCollapseCurve = Curves.easeOut,
this.revealTween = const FImmutableTween(begin: 0.0, end: 1.0),
this.fadeTween = const FImmutableTween(begin: 0.0, end: 1.0),
this.iconTween = const FImmutableTween(begin: 0.0, end: 0.25),
});