background_hiit_timer 1.2.2
background_hiit_timer: ^1.2.2 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.
We analyzed this package 3 days ago, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Funding URL doesn't exist.
At the time of the analysis https://www.buymeacoffee.com/amabe
was unreachable. Make sure that the website is reachable via HEAD
requests.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
30 out of 101 API elements (29.7 %) have documentation comments.
Some symbols that are missing documentation: background_timer
, background_timer.Countdown
, background_timer.Countdown.Countdown.new
, background_timer.Countdown.build
, background_timer.Countdown.controller
.
10/10 points: Package has an example
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ iOS
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:background_hiit_timer/background_timer.dart
that imports:package:flutter_local_notifications/flutter_local_notifications.dart
that imports:package:flutter_local_notifications/src/notification_details.dart
that imports:package:flutter_local_notifications_linux/flutter_local_notifications_linux.dart
that declares support for platforms:Linux
.
Package does not support platform `Windows`.
Because:
package:background_hiit_timer/background_timer.dart
that imports:package:flutter_local_notifications/flutter_local_notifications.dart
that declares support for platforms:Android
,iOS
,Linux
,macOS
.
Package does not support platform `Linux`.
Because:
package:background_hiit_timer/background_timer.dart
that imports:package:flutter_background_service/flutter_background_service.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:background_hiit_timer/background_timer.dart
that imports:package:flutter_local_notifications/flutter_local_notifications.dart
that imports:package:flutter_local_notifications/src/notification_details.dart
that imports:package:flutter_local_notifications_linux/flutter_local_notifications_linux.dart
that declares support for platforms:Linux
.
Package does not support platform `Web`.
Because:
package:background_hiit_timer/background_timer.dart
that imports:package:flutter_local_notifications/flutter_local_notifications.dart
that declares support for platforms:Android
,iOS
,Linux
,macOS
.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `iOS`.
Because:
package:background_hiit_timer/background_timer.dart
that imports:package:flutter_local_notifications/flutter_local_notifications.dart
that imports:package:flutter_local_notifications/src/notification_details.dart
that imports:package:flutter_local_notifications_linux/flutter_local_notifications_linux.dart
that declares support for platforms:Linux
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:background_hiit_timer/background_timer.dart
that imports:package:background_hiit_timer/utils/utils.dart
that imports:package:background_hiit_timer/utils/log.dart
that imports:package:logger/logger.dart
that imports:package:logger/src/outputs/advanced_file_output_stub.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 14 issues. Showing the first 2:
INFO: Missing type annotation.
lib/background_timer_controller.dart:49:3
╷
49 │ start() {
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/background_timer_controller.dart
INFO: Missing type annotation.
lib/background_timer_controller.dart:56:3
╷
56 │ setOnStart(VoidCallback onStart) {
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/background_timer_controller.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
device_info_plus |
^11.1.1 |
11.5.0 | 12.1.0 | |
flutter_background_service |
^5.0.10 |
5.1.0 | 5.1.0 | |
flutter_background_service_android |
^6.2.7 |
6.3.1 | 6.3.1 | |
flutter_local_notifications |
^18.0.0 |
18.0.1 | 19.4.2 | |
logger |
^2.4.0 |
2.6.1 | 2.6.1 | |
openhiit_audioplayers |
^1.0.0 |
1.0.1 | 1.0.1 | |
path |
^1.9.0 |
1.9.1 | 1.9.1 | |
shared_preferences |
^2.2.0 |
2.5.3 | 2.5.3 | |
sqflite |
^2.4.0 |
2.4.2 | 2.4.2 | |
sqflite_common_ffi |
^2.3.4 |
2.3.6 | 2.3.6 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^11.1.1` on device_info_plus does not support the stable version `12.0.0`, that was published 5 days ago.
When device_info_plus is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions device_info_plus
to update the constraint.
The constraint `^18.0.0` on flutter_local_notifications does not support the stable version `19.0.0`.
Try running dart pub upgrade --major-versions flutter_local_notifications
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.23
, Flutter 3.35.3
, Dart 3.9.2
.
Check the analysis log for details.