ShakeAnimationWidget constructor

ShakeAnimationWidget({
  1. required Widget child,
  2. double shakeRange = 0.1,
  3. dynamic shakeCount = 0,
  4. ShakeAnimationType shakeAnimationType = ShakeAnimationType.RoateShake,
  5. ShakeAnimationController? shakeAnimationController,
  6. bool isForward = true,
  7. double randomValue = 4,
})

Implementation

ShakeAnimationWidget(
    {required this.child,
    this.shakeRange = 0.1,
    this.shakeCount = 0,
    this.shakeAnimationType = ShakeAnimationType.RoateShake,
    this.shakeAnimationController,
    this.isForward = true,
    this.randomValue = 4});