Shake constructor
Shake({
- Key? key,
- required Widget child,
- AnimationPreferences preferences = const AnimationPreferences(),
Implementation
Shake({
Key? key,
required Widget child,
AnimationPreferences preferences = const AnimationPreferences(),
}) : super(
key: key,
child: child,
definition: ShakeAnimation(preferences: preferences));