rocket_timer 0.0.2 copy "rocket_timer: ^0.0.2" to clipboard
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 a RocketTimer object.
  • Added support for starting, pausing, stopping, resetting, and switching between countdown and normal modes in RocketTimer.
  • Added formattedDuration, hours, minutes, and seconds properties to RocketTimer for getting the formatted timer values.
  • Added handleTimer() method to RocketTimer for handling the timer logic.
  • Added dispose() method to RocketTimer 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 from int to Duration
2
likes
140
points
35
downloads

Publisher

verified publisherbixat.dev

Weekly Downloads

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 changes in a RocketTimer object. It supports starting, pausing, stopping, resetting, and switching between countdown and normal modes, and is easy to use and customize.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on rocket_timer