slide_countdown 2.0.2 slide_countdown: ^2.0.2 copied to clipboard
A Flutter package to create easy slide animation countdown / countup timer.
⏱️ Slide Countdown #
A Flutter package to create easy slide animation countdown / countup timer
- ⏱️ Support Count down and Count up
- ⏯️ Control duration
- 🔔 Callback finished
- 🎨 Easily custom duration layout with
RawSlideCountdown
andRawDigitItem
widget.
Thanks to pausable_timer, this package use pausable_timer for helping control duration.
Example #
Basic Usange #
SlideCountdown(
duration: Duration(days: 2),
)
SlideCountdownSeparated(
duration: Duration(days: 2),
)
Custom time unit #
Set the time unit you want to display with this params
shouldShowDays
, shouldShowHours
, shouldShowMinutes
, shouldShowSeconds
.
SlideCountdown(
duration: Duration(days: 2),
// Will show seconds only if duration in days is zero
shouldShowMinutes: (duration) => duration.inDays == 0,
)
Control duration #
You can control duration e.g play, pause, resume, seek, add, subtract duration. See example here
🚧 Maintainer #
Farhan Fadila
📫 Email: farhan.fadila1717@gmail.com
⛳ Website: farhanfadila.site