background_hiit_timer 1.2.3 copy "background_hiit_timer: ^1.2.3" to clipboard
background_hiit_timer: ^1.2.3 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.3

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';
5
likes
160
points
475
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
Contributing

Documentation

API reference

Funding

Consider supporting this project:

www.buymeacoffee.com

License

MIT (license)

Dependencies

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

More

Packages that depend on background_hiit_timer