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

PlatformiOS

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 Flutter:

 $ flutter pub add background_hiit_timer

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

dependencies:
  background_hiit_timer: ^1.2.2

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: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';
4
likes
150
points
166
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)
Contributing

Documentation

API reference

Funding

Consider supporting this project:

www.buymeacoffee.com

License

MIT (license)

Dependencies

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

More

Packages that depend on background_hiit_timer