PulseButton constructor

const PulseButton({
  1. Key? key,
  2. required Widget child,
  3. VoidCallback? onPressed,
  4. Color? pulseColor,
  5. Color? backgroundColor,
  6. double borderRadius = 12,
  7. bool showPulse = true,
  8. EdgeInsetsGeometry? padding,
})

Implementation

const PulseButton({
  super.key,
  required this.child,
  this.onPressed,
  this.pulseColor,
  this.backgroundColor,
  this.borderRadius = 12,
  this.showPulse = true,
  this.padding,
});