Documentation Index
Fetch the complete documentation index at: https://starrycodes.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
💥 Shake Effect
The duration to wait before starting the animation (in milliseconds).
The length of the entire shake sequence (in milliseconds).
If true, the animation loops indefinitely.
If true, reverses direction when repeating.
If true, the animation starts automatically.
The curve to use for the animation speed (uses the built-in shake curve).
onInit
void Function(AnimationController)?
default:"null"
A callback fired when the AnimationController is initialized.
Applies a horizontal shaking animation to the widget. The shake effect is built-in to the flutter_animate package used under the hood.// Shakes for 500ms
Container(color: Colors.red).shake();