circular_countdown 2.0.0
circular_countdown: ^2.0.0 copied to clipboard
A package that represents a circular countdown that you can use for every kind of units (days, hours, seconds, points, ...).
2.0.0 20/04/2021 #
Changes : #
- Added null-safety support. (https://github.com/MattisBrizard/circular_countdown/issues/5)
1.2.1 16/07/2020 #
Changes : #
- Fixed
TimeCircularCountdownto care about widget configuration changes forunitandcountdownTotalproperties. (https://github.com/MattisBrizard/circular_countdown/issues/3)
1.2.0 15/07/2020 #
Changes : #
- Added a
repeatbool property toTimeCircularCountdownto restart countdown when ended (Default tofalse).
TimeCircularCountdown(
unit: CountdownUnit.seconds,
countdownTotal: 5,
repeat: true,
);
1.0.0 10/05/2020 #
Changes : #
-
Added a
TimeCircularCountdownwhich provides an easy way to setup a time countdown with theCircularCountdown. -
Updated
CircularCountdownconstructor :diameteris no longer required. (If not provided then should take either the maximum space if possible or 100)countdownRemainingis no longer required.
-
Updated README.md
TimeCircularCountdown(
unit: CountdownUnit.minute,
countdownTotal: 5,
onUpdated: (unit, remainingTime) => print('Updated'),
onFinished: () => print('Countdown finished'),
onCanceled: (unit, remainingTime) => print('Canceled'),
textStyle: const TextStyle(
color: Colors.white,
fontSize: 90,
),
);
Breaking changes : #
-
Updated
CircularCountdownconstructor :textSpanhas been replaced bytextSylethat will be used to display the current value of the countdown.
0.1.0 15/08/2019 #
Changes : #
- Added possibility to display a textSpan in the center of the widget. This textSpan will displays only if there is enough space.
CircularCountdown(
diameter: 250,
countdownTotal: 10,
countdownRemaining: 7,
strokeWidth: 45,
textSpan: TextSpan(
text: '7',
style: TextStyle(
color: Colors.white,
fontSize: 90,
),
),
)
0.0.2 02/08/2019 #
Updated doc.
0.0.1 02/08/2019 #
Initial release.