$FToastMotionTransformations extension

Provides copyWith and lerp methods.

on

Methods

copyWith({Duration? entranceDuration, Duration? dismissDuration, Duration? transitionDuration, Duration? reentranceDuration, Duration? exitDuration, Duration? swipeCompletionDuration, Curve? entranceCurve, Curve? dismissCurve, Curve? transitionCurve, Curve? reentranceCurve, Curve? exitCurve, Curve? swipeCompletionCurve, Animatable<double>? entranceDismissFadeTween}) FToastMotion

Available on FToastMotion, provided by the $FToastMotionTransformations extension

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

Available on FToastMotion, provided by the $FToastMotionTransformations extension

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