pub fn pulse_once(signal: &Signal<f32>, target: f32, duration: Duration)Expand description
One-shot ease-out tween from the signal’s current value to
target over duration. The standard “fire on click,
dismiss” / “flash a highlight” pattern. The signal must
already be registered with register_animated_item_signal
(or directly via ctx.register_animated_signal) for the tween
to participate in idle gating.
Doesn’t reach into reduced-motion settings — apps wiring a
flash that should suppress under reduced motion should query
BuildContext::prefers_reduced_motion() at build time and
skip the tween, or use the higher-level ctx.animate() .to_or_snap() API at the widget tier.