countdown_widget library Null safety
Classes
- CountDownController
- Controller of CountDownWidget, if you want to pause,resume,restart timer, you need use controller, get a controller by CountDownWidget.onControllerReady
- CountDownWidget
- builder is function callback return Widget by durationRemain, it will be called when durationRemain Changed [...]
Typedefs
-
BuildWidgetByDuration(
BuildContext context, Duration duration) → Widget - Widget builder when duration changed
-
OnControllerReady(
CountDownController controller) → void - callback this return CountDownController when it ready to use