Shake constructor

const Shake({
  1. Key? key,
  2. required Widget child,
  3. Duration duration = const Duration(milliseconds: 500),
  4. double strength = 6,
  5. bool enabled = true,
})

Implementation

const Shake({
  super.key,
  required this.child,
  this.duration = const Duration(milliseconds: 500),
  this.strength = 6,
  this.enabled = true,
});