$FSidebarItemMotionTransformations extension

Provides copyWith and lerp methods.

on

Methods

copyWith({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}) FSidebarItemMotion

Available on FSidebarItemMotion, provided by the $FSidebarItemMotionTransformations extension

Returns a copy of this FSidebarItemMotion with the given properties replaced.
lerp(FSidebarItemMotion other, double t) FSidebarItemMotion

Available on FSidebarItemMotion, provided by the $FSidebarItemMotionTransformations extension

Linearly interpolate between this and another FSidebarItemMotion using the given factor t.