PulseAnimation constructor

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

The duration of the pulsating animation. Constructor for the PulseAnimation widget.

Implementation

/// Constructor for the PulseAnimation widget.
const PulseAnimation({
  Key? key,
  required this.child,
  this.beginScale = 1.0,
  this.duration = const Duration(milliseconds: 1000),

  /// Default animation duration.
}) : super(key: key);