farhanfadila1717 / slide_countdown

A Flutter package to create easy slide animation countdown / countup timer.
https://pub.dev/packages/slide_countdown
MIT License
59 stars 43 forks source link

Feature: Add `replaceable` support. #27

Closed Rosario9527 closed 1 year ago

Rosario9527 commented 2 years ago

Hi There, [Feat]

  1. Currently, replacement show ONLY if duration.inSeconds <= 0. could support a hook to show replacement earlier. something like bool replaceable(value) { return value.inSeconds == 3600; }. btw, even though replacement showed earlier, keep ticker alive until onDone.

  2. Case separator set to SeparatorType.title, the time digits still padded as 01 hours 01 minutes. emmm... so weird,
    a padDigits option is nice, or remove pad.

[Other] If disable seconds show, 0 < duration.inSeconds < 60, It's show nothing. Might keep show 0 minutes is better, but now it's completely OK .

thks

farhanfadila1717 commented 2 years ago

Hi @Rosario9527,

yes i agree with you, i will add it soon.

Rosario9527 commented 2 years ago

VTKS.