flutter_timer_countdown 1.0.3
flutter_timer_countdown: ^1.0.3 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