presentation/widgets/common/cooldown_action_button library
Classes
- CooldownActionButton
-
Button gated by a caller-read cooldown. While remaining is positive the
button is disabled and a countdown chip is shown; when the chip reaches
zero onReady fires so the caller re-reads the service and passes
Duration.zero. The caller still re-checks the service inside onTap: this gate is UI only, not an anti-cheat boundary.