dismiss static method
Immediately removes any active confetti overlay.
Safe to call even when no animation is running.
Implementation
static void dismiss() {
_current?.remove();
_current = null;
}
Immediately removes any active confetti overlay.
Safe to call even when no animation is running.
static void dismiss() {
_current?.remove();
_current = null;
}