background_hiit_timer 1.0.0-dev.3
background_hiit_timer: ^1.0.0-dev.3 copied to clipboard
Flutter background timer package developed for HIIT timers.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add background_hiit_timerWith Flutter:
$ flutter pub add background_hiit_timerThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
background_hiit_timer: ^1.0.0-dev.3Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:background_hiit_timer/background_timer.dart';
import 'package:background_hiit_timer/background_timer_controller.dart';
import 'package:background_hiit_timer/background_timer_data.dart';
import 'package:background_hiit_timer/lifecycle_event_handler.dart';
import 'package:background_hiit_timer/sounds.dart';
import 'package:background_hiit_timer/utils/constants.dart';
import 'package:background_hiit_timer/utils/timer_config.dart';
import 'package:background_hiit_timer/utils/timer_state.dart';
import 'package:background_hiit_timer/utils/utils.dart';