countdown_widget 2.0.0
countdown_widget: ^2.0.0 copied to clipboard

A package timer works correctly even if the app is locked.

countdown_widget #

A package timer works correctly even if the app is locked issue

Getting Started #

Scaffold(
      body: Center(
        child: CountDownWidget(
          duration: Duration(seconds: 20),
          builder: (context, duration) {
            return Text(duration.inSeconds.toString());
          },
          onDurationRemainChanged: (duration) {
            print('duration:${duration.toString()}');
          },
        ),
      ),
)
1
likes
110
pub points
59%
popularity

Publisher

tbm98.dev

A package timer works correctly even if the app is locked.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD (LICENSE)

Dependencies

flutter, mutex

More

Packages that depend on countdown_widget