PulseAnimation constructor

const PulseAnimation({
  1. Key? key,
  2. required Widget child,
  3. Duration duration = const Duration(seconds: 1),
  4. double scaleStart = 1.0,
  5. double scaleEnd = 1.2,
})

Implementation

const PulseAnimation({
  Key? key,
  required this.child,
  this.duration = const Duration(seconds: 1),
  this.scaleStart = 1.0,
  this.scaleEnd = 1.2,
}) : super(key: key);