CoderCircularShake constructor

const CoderCircularShake({
  1. Key? key,
  2. required Widget child,
  3. Duration duration = const Duration(milliseconds: 700),
})

Creates a circular shaking animation around the widget.

Starts the animation automatically after 600ms delay, runs for duration, then stops.

Implementation

const CoderCircularShake({
  super.key,
  required this.child, // ✅ Required: Widget to shake
  this.duration = const Duration(
    milliseconds: 700,
  ), // Optional: How long the shaking lasts
});