NiceShake constructor

const NiceShake({
  1. Key? key,
  2. required Widget child,
  3. bool shake = false,
  4. Duration duration = const Duration(milliseconds: 500),
  5. double offset = 10.0,
  6. int shakeCount = 3,
})

Implementation

const NiceShake({
  super.key,
  required this.child,
  this.shake = false,
  this.duration = const Duration(milliseconds: 500),
  this.offset = 10.0,
  this.shakeCount = 3,
});