countdown_widget 1.0.2
countdown_widget: ^1.0.2 copied to clipboard

Flutter Android iOS Linux macOS web Windows

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()}');
          },
        ),
      ),
)
0
likes
90
pub points
27%
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