ShakeEffectExtensions<T> extension
Methods
-
shake({Duration? delay, Duration? duration, Curve? curve, int? hz, Offset? offset, double? rotation})
→ T
-
Adds a shake extension to AnimateManager (Animate and AnimateList).
-
shakeX({Duration? delay, Duration? duration, Curve? curve, int? hz, double? amount})
→ T
-
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
-
Adds a shakeY extension to AnimateManager (Animate and AnimateList).
This sets
rotation=0
and offset=Offset(0, amount)
.