ShakeEffectExtensions<T extends AnimateManager<T> > extension
Adds ShakeEffect related extensions to AnimateManager
.
- on
-
- T
Methods
-
shake(
{Duration? delay, Duration? duration, Curve? curve, double? hz, Offset? offset, double? rotation}) → T - Adds a ShakeEffect that shakes the target, using translation, rotation, or both (via Transform).
-
shakeX(
{Duration? delay, Duration? duration, Curve? curve, double? hz, double? amount}) → T - Adds a ShakeEffect that shakes the target horizontally (via Transform).
-
shakeY(
{Duration? delay, Duration? duration, Curve? curve, double? hz, double? amount}) → T - Adds a ShakeEffect that shakes the target vertically (via Transform).