ShakeEffectExtensions<T> extension

on

Methods

shake({Duration? delay, Duration? duration, Curve? curve, int? hz, Offset? offset, double? rotation}) → T

Available on AnimateManager<T>, provided by the ShakeEffectExtensions extension

Adds a shake extension to AnimateManager (Animate and AnimateList).
shakeX({Duration? delay, Duration? duration, Curve? curve, int? hz, double? amount}) → T

Available on AnimateManager<T>, provided by the ShakeEffectExtensions extension

Adds a shakeX extension to AnimateManager (Animate and AnimateList). This sets rotation=0 and offset=Offset(amount, 0).
shakeY({Duration? delay, Duration? duration, Curve? curve, int? hz, double? amount}) → T

Available on AnimateManager<T>, provided by the ShakeEffectExtensions extension

Adds a shakeY extension to AnimateManager (Animate and AnimateList). This sets rotation=0 and offset=Offset(0, amount).