animated_countdown_timer 0.1.8 copy "animated_countdown_timer: ^0.1.8" to clipboard
animated_countdown_timer: ^0.1.8 copied to clipboard

A customizable countdown timer with animations and callbacks.

A Flutter package that provides a sleek and customizable countdown timer widget with animations and lifecycle callbacks for starting and completing the countdown. Perfect for use in splash screens, games, timed challenges, or any scenario where a countdown enhances the user experience.

Features #

Customizable Countdown: Set the countdown duration, text color, and overlay background color. Animated Effects: Smooth scaling, rotating, and color animations. Lifecycle Callbacks: onStart and onDone events to trigger custom logic. Simple and Lightweight: Easy to integrate with minimal configuration.

Getting started #

To use this package, add it to your pubspec.yaml dependencies:

dependencies: animated_countdown_timer: latest

Run the following command to install it: flutter pub get

Usage #

AnimatedCountdownTimer( initialCount: 5, textColor: Colors.yellow, overlayColor: Colors.black54, onStart: () => print("Countdown started!"), onDone: () => print("Countdown finished!"), ),

Additional information #

Parameters initialCount: int The starting number for the countdown. 3 textColor: Color Color of the countdown text. Colors.white overlayColor: Color Background overlay color. Color(0xB3000000) onStart VoidCallback?: Callback triggered when countdown starts. null onDone VoidCallback?: Callback triggered when countdown finishes. null

1
likes
150
points
34
downloads

Publisher

unverified uploader

Weekly Downloads

A customizable countdown timer with animations and callbacks.

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (license)

Dependencies

flutter

More

Packages that depend on animated_countdown_timer