ShakeWidget constructor

const ShakeWidget({
  1. Key? key,
  2. Duration duration = const Duration(milliseconds: 500),
  3. double deltaX = 20,
  4. Curve curve = Curves.bounceOut,
  5. required Widget child,
})

Implementation

const ShakeWidget({
  Key? key,
  this.duration = const Duration(milliseconds: 500),
  this.deltaX = 20,
  this.curve = Curves.bounceOut,
  required this.child,
}) : super(key: key);