rocket_timer 0.0.1 rocket_timer: ^0.0.1 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 [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add rocket_timer
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
rocket_timer: ^0.0.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:rocket_timer/rocket_timer.dart';