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

Libraries

flutter_timer_countdown