ShakeWidget constructor
const
ShakeWidget({
- Key? key,
- required Widget child,
- Duration duration = const Duration(milliseconds: 700),
- ShakePreset preset = ShakePreset.heavy,
- ShakeConfig? customConfig,
Implementation
const ShakeWidget({
super.key,
required this.child,
this.duration = const Duration(milliseconds: 700),
this.preset = ShakePreset.heavy,
this.customConfig,
});