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