Timer Count Down | Coderz Product

timer_count_down

Last updated:

0 purchases

timer_count_down Image
timer_count_down Images

Free

Languages

Categories

Add to Cart

Description:

timer count down

Simple Count Down #




A highly customizable countdown widget for Flutter, with support for custom styling, intervals, and onFinished callbacks.
Preview #

Installing #

Add the latest version of the package to your pubspec.yaml file in the dependency section.

dependencies:
flutter:
sdk: flutter

timer_count_down: ^2.2.0
copied to clipboard
Run this in your terminal or click on pub get
$ flutter pub get
copied to clipboard
How to use #
Simple example for the usage of the package is shown below.
class MyWidget extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Countdown(
seconds: 20,
build: (BuildContext context, double time) => Text(time.toString()),
interval: Duration(milliseconds: 100),
onFinished: () {
print('Timer is done!');
},
);
}
}
copied to clipboard
Example #
For pause, restart and resume you need to use CountdownController.
For an example of using the package, please check the example folder. Otherwise, keep reading and keep going!

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product: (if this is empty don't purchase this product)

Customer Reviews

There are no reviews.