rocket_timer 0.0.2 rocket_timer: ^0.0.2 copied to clipboard
The rocket_timer package provides a RocketTimer class for implementing countdown or normal timers in Flutter applications, as well as a RocketTimerBuilder widget for building widgets that respond to c [...]
0.0.1 #
- Initial release of the
rocket_timer
package. - Added the
RocketTimer
class for implementing countdown or normal timers. - Added the
RocketTimerBuilder
widget for building widgets that respond to changes in aRocketTimer
object. - Added support for starting, pausing, stopping, resetting, and switching between countdown and normal modes in
RocketTimer
. - Added
formattedDuration
,hours
,minutes
, andseconds
properties toRocketTimer
for getting the formatted timer values. - Added
handleTimer()
method toRocketTimer
for handling the timer logic. - Added
dispose()
method toRocketTimer
for cleaning up the timer object. - Added comprehensive unit tests for the
RocketTimer
class. - Added documentation for the
rocket_timer
package.
0.0.2 #
- Added
restart
method for restart timer - Changed
duration
type fromint
toDuration