PulseEffect constructor
const
PulseEffect({})
Creates a pulsing scale and opacity animation.
duration — one full pulse duration.
curve — easing curve for the pulse.
scaleMin — minimum scale at pulse trough.
scaleMax — maximum scale at pulse peak.
opacityMin — minimum opacity during pulse.
delayBetweenChars — stagger (zero for simultaneous pulse).
Implementation
const PulseEffect({
super.duration = const Duration(milliseconds: 1000),
super.curve = Curves.easeInOut,
this.scaleMin = 1.0,
this.scaleMax = 1.3,
this.opacityMin = 0.85,
super.delayBetweenChars = Duration.zero,
});