circular_countdown 2.1.0 circular_countdown: ^2.1.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.1.0] - 05/05/2021 #
Changes : #
CircularCountdown
is no more wrapped withCenter
.- Updated README and added an example with timer_controller.
[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
TimeCircularCountdown
to care about widget configuration changes forunit
andcountdownTotal
properties. (https://github.com/MattisBrizard/circular_countdown/issues/3)
[1.2.0] - 15/07/2020 #
Changes : #
- Added a
repeat
bool property toTimeCircularCountdown
to restart countdown when ended (Default tofalse
).
TimeCircularCountdown(
unit: CountdownUnit.seconds,
countdownTotal: 5,
repeat: true,
);
[1.1.0] - 08/07/2020 #
Changes : #
- Added a isClockwise property to draw the countdown clockwise or not.
[1.0.0] - 10/05/2020 #
Changes : #
-
Added a
TimeCircularCountdown
which provides an easy way to setup a time countdown with theCircularCountdown
. -
Updated
CircularCountdown
constructor :diameter
is no longer required. (If not provided then should take either the maximum space if possible or 100)countdownRemaining
is 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
CircularCountdown
constructor :textSpan
has been replaced bytextSyle
that 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.