BackgroundTimer constructor
const
BackgroundTimer({
- Key? key,
- required int seconds,
- TimerController? controller,
- TimerStorageManager? storageManger,
Creates a new BackgroundTimer instance.
Requires a controller to manage state and the initial
amount of seconds for the countdown.
storageManger for storing the timer values
Implementation
const BackgroundTimer({
super.key,
required this.seconds,
this.controller,
this.storageManger,
});