BlinkWidget constructor

const BlinkWidget(
  1. {required Widget child,
  2. required double shakeOffset,
  3. required double shakeCount,
  4. required Duration shakeDuration,
  5. Key? key}
)

A constructor that takes in a child widget, a shakeOffset value, a shakeCount value, and a shakeDuration value

Implementation

const BlinkWidget({
  required this.child,
  required this.shakeOffset,
  required this.shakeCount,
  required this.shakeDuration,
  super.key,
});