FSidebarItemMotionDelta.delta constructor
const
FSidebarItemMotionDelta.delta({
- Duration? expandDuration,
- Duration? collapseDuration,
- Curve? expandCurve,
- Curve? collapseCurve,
- Curve? fadeInCurve,
- Curve? fadeOutCurve,
- Curve? iconExpandCurve,
- Curve? iconCollapseCurve,
- Animatable<
double> ? revealTween, - Animatable<
double> ? fadeTween, - Animatable<
double> ? iconTween,
Creates a partial modification of a FSidebarItemMotion.
Parameters
- FSidebarItemMotion.expandDuration - The expand animation's duration.
- FSidebarItemMotion.collapseDuration - The collapse animation's duration.
- FSidebarItemMotion.expandCurve - The expand animation's curve.
- FSidebarItemMotion.collapseCurve - The collapse animation's curve.
- FSidebarItemMotion.fadeInCurve - The fade-in animation's curve.
- FSidebarItemMotion.fadeOutCurve - The fade-out animation's curve.
- FSidebarItemMotion.iconExpandCurve - The icon's animation curve when expanding.
- FSidebarItemMotion.iconCollapseCurve - The icon's animation curve when collapsing.
- FSidebarItemMotion.revealTween - The reveal animation's tween.
- FSidebarItemMotion.fadeTween - The fade animation's tween.
- FSidebarItemMotion.iconTween - The icon animation's tween.
Implementation
const factory FSidebarItemMotionDelta.delta({
Duration? expandDuration,
Duration? collapseDuration,
Curve? expandCurve,
Curve? collapseCurve,
Curve? fadeInCurve,
Curve? fadeOutCurve,
Curve? iconExpandCurve,
Curve? iconCollapseCurve,
Animatable<double>? revealTween,
Animatable<double>? fadeTween,
Animatable<double>? iconTween,
}) = _FSidebarItemMotionDelta;