ShakeAnimation constructor

const ShakeAnimation({
  1. Key? key,
  2. AnimateType animateType = AnimateType.once,
  3. double moveAmount = 16,
  4. double durationMilliseconds = 60,
  5. Duration delay = const Duration(milliseconds: 0),
  6. bool isHorizontal = true,
  7. bool developerMode = false,
  8. required Widget child,
})

Implementation

const ShakeAnimation({
  super.key,
  this.animateType = AnimateType.once,
  this.moveAmount = 16,
  this.durationMilliseconds = 60,
  this.delay = const Duration(milliseconds: 0),
  this.isHorizontal = true,
  this.developerMode = false,
  required this.child,
});