background_hiit_timer 1.1.0 copy "background_hiit_timer: ^1.1.0" to clipboard
background_hiit_timer: ^1.1.0 copied to clipboard

Flutter background timer package developed for HIIT timers. Designed to run in the background and play audio cues on Android and iOS.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add background_hiit_timer

With Flutter:

 $ flutter pub add background_hiit_timer

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  background_hiit_timer: ^1.1.0

Alternatively, 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/models/interval_type.dart';
import 'package:background_hiit_timer/models/timer_state.dart';
import 'package:background_hiit_timer/utils/constants.dart';
import 'package:background_hiit_timer/utils/database.dart';
import 'package:background_hiit_timer/utils/lifecycle_event_handler.dart';
import 'package:background_hiit_timer/utils/log.dart';
import 'package:background_hiit_timer/utils/utils.dart';
5
likes
0
points
291
downloads

Publisher

verified publisheramabe.dev

Weekly Downloads

Flutter background timer package developed for HIIT timers. Designed to run in the background and play audio cues on Android and iOS.

Repository (GitHub)
View/report issues

Funding

Consider supporting this project:

www.buymeacoffee.com

License

unknown (license)

Dependencies

audioplayers, device_info_plus, flutter, flutter_background_service, flutter_background_service_android, flutter_local_notifications, logger, path, shared_preferences, sqflite, sqflite_common_ffi

More

Packages that depend on background_hiit_timer