DropAndBounceAnimation constructor

const DropAndBounceAnimation({
  1. Key? key,
  2. required Widget child,
  3. double distance = 100.0,
  4. int duration = 1000,
})

Constructor for the DropAndBounceAnimation widget.

Implementation

const DropAndBounceAnimation({
  super.key,
  required this.child,
  this.distance = 100.0,
  this.duration = 1000,
});