ShakeWidget constructor
A constructor that takes in a child
widget,
a shakeOffset
value,
a shakeCount
value,
and a shakeDuration
value
Implementation
const ShakeWidget({
required this.child,
required this.shakeOffset,
required this.shakeCount,
required this.shakeDuration,
super.key,
});