Skip to content

farhanfadila1717/slide_countdown

Repository files navigation

⏱️ Slide Countdown

A Flutter package to create easy slide animation countdown / countup timer

flutter badge paypal badge linktree

  • ⏱️ Support Count down and Count up
  • ⏯️ Control duration
  • 🔔 Callback finished
  • 🎨 Easily custom duration layout with RawSlideCountdown and RawDigitItem widget.

Thanks to pausable_timer, this package use pausable_timer for helping control duration.

likes card


Example

Basic Usange

  SlideCountdown(
    duration: Duration(days: 2),
  )

basic slidecountdown

  SlideCountdownSeparated(
    duration: Duration(days: 2),
  )

basic slidecountdown separated

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

contoll duration


🚧 Maintainer

farhan fadila

Farhan Fadila

📫 Email: [email protected]

⛳ Website: farhanfadila.site

❤️ Donate for support this open source

paypal farhan fadila linktree farhan fadila