RippleAnimation constructor

const RippleAnimation({
  1. required Widget child,
  2. Color color = Colors.black,
  3. Duration delay = Duration.zero,
  4. bool repeat = false,
  5. double minRadius = 60,
  6. int ripplesCount = 5,
  7. Duration duration = const Duration(milliseconds: 2300),
  8. Key? key,
})

initialize the ripple animation

Implementation

const RippleAnimation({
  required this.child,
  this.color = Colors.black,
  this.delay = Duration.zero,
  this.repeat = false,
  this.minRadius = 60,
  this.ripplesCount = 5,
  this.duration = const Duration(milliseconds: 2300),
  super.key,
});