presentation/widgets/common/energy_bar
library
Classes
-
EnergyBar
-
Row of
maxEnergy heart pips (filled up to currentEnergy, dimmed
beyond), plus a live-ticking mm:ss countdown to the next regen point —
a pure display widget, it holds no energy state of its own. The caller
reads EnergyService and hands in currentEnergy/maxEnergy/
timeUntilNextEnergy/hasInfiniteLives, matching this kit's convention
(see LevelSelectGrid/DailyLoginCalendarWidget) of widgets taking
plain data rather than reaching into a GetX service directly.
-
ReactiveEnergyBar
-
Service-bound freshness wrapper for EnergyBar (BUG-95).