ShakingAnimation constructor
const
ShakingAnimation({})
Implementation
const ShakingAnimation({
super.key,
required this.child,
required this.duration,
// Default value for repeat is true.
this.repeat = true,
});