FLUTTER ECOSYSTEM

farhanfadila1717/slide_countdown

一個用於建立簡單滑動動畫倒數計時/正計時器的 Flutter 套件。

slide_countdown 專案封面
Stars
62
Forks
46
最近推送(UTC)
2026年1月19日
專案狀態
未封存
Farhan Fadila GitHub avatar
GITHUB User

Farhan Fadila ↗

Software Engineer @bicarakan-id

@bicarakan-id Jakarta, Indonesia官方網站 ↗
語言Dart

技術主題

此儲存庫發佈的套件

使用的依賴

依賴清單 4 項

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

展開 / 收合專案 README

⏱️ 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: farhan.fadila1717@gmail.com

⛳ Website: farhanfadila.site

❤️ Donate for support this open source
paypal farhan fadila linktree farhan fadila