BounceAnimation constructor

const BounceAnimation({
  1. Key? key,
  2. required Widget child,
  3. double beginScale = 0.5,
  4. Duration duration = const Duration(milliseconds: 500),
})

Constructor for the BounceAnimation widget.

Implementation

const BounceAnimation({
  super.key,
  required this.child,
  this.beginScale = 0.5,
  this.duration = const Duration(milliseconds: 500),
});