ShakeAnimation constructor

const ShakeAnimation({
  1. Key? key,
  2. required Widget child,
  3. required dynamic onInit(
    1. AnimationController
    ),
  4. double animationWidth = 10,
  5. Duration animationDuration = const Duration(milliseconds: 370),
})

Implementation

const ShakeAnimation({
  super.key,
  required this.child,
  required this.onInit,
  this.animationWidth = 10,
  this.animationDuration = const Duration(milliseconds: 370),
});