FTappableMotionDelta.delta constructor
const
FTappableMotionDelta.delta({})
Creates a partial modification of a FTappableMotion.
Parameters
- FTappableMotion.bounceDownDuration - The bounce animation's duration when the tappable is pressed down.
- FTappableMotion.bounceUpDuration - The bounce animation's duration when the tappable is released (up).
- FTappableMotion.bounceDownCurve - The curve used to animate the scale of the tappable when pressed (down).
- FTappableMotion.bounceUpCurve - The curve used to animate the scale of the tappable when released (up).
- FTappableMotion.bounceTween - The bounce's tween.
- FTappableMotion.bounceFloor - The maximum number of pixels that the tappable can shrink during the bounce animation regardless of widget size.
Implementation
const factory FTappableMotionDelta.delta({
Duration? bounceDownDuration,
Duration? bounceUpDuration,
Curve? bounceDownCurve,
Curve? bounceUpCurve,
Animatable<double>? bounceTween,
double? Function()? bounceFloor,
}) = _FTappableMotionDelta;