flutter_timer_countdown 1.0.2
flutter_timer_countdown: ^1.0.2 copied to clipboard

A simple timer for counting down a given time. Supports customizable appearance and different formats.

Timer Countdown #

A simple customizable timer for counting down a given time.

Preview #

Getting Started #

The simplest example to count down a given time is shown below:

class MyTimer extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return TimerCountdown(
      format: CountDownTimerFormat.daysHoursMinutesSeconds,
      endTime: DateTime.now().add(
        Duration(
          days: 5,
          hours: 14,
          minutes: 27,
          seconds: 34,
        ),
      ),
      onEnd: () {
        print("Timer finished");
      },
    );
  }
}

Made with ❤ by Flutter team at Appinio GmbH
8
likes
130
pub points
74%
popularity

Publisher

appinio.com

A simple timer for counting down a given time. Supports customizable appearance and different formats.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_timer_countdown