flutter_timer_countdown 1.0.2 copy "flutter_timer_countdown: ^1.0.2" to clipboard
flutter_timer_countdown: ^1.0.2 copied to clipboard

outdated

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
137
likes
0
pub points
97%
popularity

Publisher

verified publisherappinio.app

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

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_timer_countdown