background_hiit_timer 1.0.0-dev.1 copy "background_hiit_timer: ^1.0.0-dev.1" to clipboard
background_hiit_timer: ^1.0.0-dev.1 copied to clipboard

PlatformAndroid

Flutter background timer package developed for HIIT timers.

0
likes
110/ 140
pub points
13%
popularity

We analyzed this package 20 hours ago, and awarded it 110 pub points (of a possible 140):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

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.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

62 out of 111 API elements (55.9 %) have documentation comments.

Some symbols that are missing documentation: background_timer, background_timer.Countdown.cooldownSeconds, background_timer.Countdown.getreadySeconds, background_timer.Countdown.warmupSeconds, background_timer_controller.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

These platforms are not supported:

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 imports:
  • package:flutter_local_notifications_linux/src/flutter_local_notifications.dart that imports:
  • package:flutter_local_notifications_linux/src/notifications_manager.dart that imports:
  • package:flutter_local_notifications_linux/src/storage.dart that imports:
  • package:flutter_local_notifications_linux/src/platform_info.dart that imports:
  • package:xdg_directories/xdg_directories.dart that declares support for platforms: Linux.
Package does not support platform `Windows`.

Because:

  • package:background_hiit_timer/background_timer.dart that imports:
  • package:background_hiit_timer/utils/utils.dart that imports:
  • package:soundpool/soundpool.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:background_hiit_timer/background_timer.dart that imports:
  • package:background_hiit_timer/utils/utils.dart that imports:
  • package:soundpool/soundpool.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `macOS`.

Because:

  • package:background_hiit_timer/background_timer.dart that imports:
  • package:background_hiit_timer/utils/utils.dart that imports:
  • package:openhiit_background_service/openhiit_background_service.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:background_hiit_timer/background_timer.dart that imports:
  • package:background_hiit_timer/utils/utils.dart that imports:
  • package:openhiit_background_service/openhiit_background_service.dart that declares support for platforms: Android, iOS.

These issues are present but do not affect the score, because they may not originate in your package:

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 imports:
  • package:flutter_local_notifications_linux/src/flutter_local_notifications.dart that imports:
  • package:flutter_local_notifications_linux/src/notifications_manager.dart that imports:
  • package:flutter_local_notifications_linux/src/storage.dart that imports:
  • package:flutter_local_notifications_linux/src/platform_info.dart that imports:
  • package:xdg_directories/xdg_directories.dart that declares support for platforms: Linux.
partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

INFO: Dangling library doc comment.

lib/background_timer_data.dart:1:1

  ╷
1 │ /// Defines the object returned from the background timer process
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/background_timer_data.dart

lib/sounds.dart doesn't match the Dart formatter.

To format your files run: dart format .

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
audio_session ^0.1.16 0.1.19 0.1.19
audioplayers ^5.1.0 5.2.1 6.0.0
device_info_plus ^8.0.0 8.2.2 10.1.0
flutter flutter 0.0.0 0.0.0
flutter_fgbg ^0.3.0 0.3.0 0.3.0
flutter_local_notifications ^15.1.0+1 15.1.3 17.1.2
just_audio ^0.9.35 0.9.37 0.9.37
openhiit_background_service ^1.0.0-dev.1 1.0.0-dev.1 1.0.0-dev.1
openhiit_background_service_android ^1.0.0-dev.1 1.0.0-dev.1 1.0.0-dev.1
shared_preferences ^2.2.0 2.2.3 2.2.3
soundpool ^2.4.1 2.4.1 2.4.1
Transitive dependencies
Package Constraint Compatible Latest
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
audioplayers_android - 4.0.3 5.0.0
audioplayers_darwin - 5.0.2 6.0.0
audioplayers_linux - 3.1.0 4.0.0
audioplayers_platform_interface - 6.1.0 7.0.0
audioplayers_web - 4.1.0 5.0.0
audioplayers_windows - 3.1.0 4.0.0
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
crypto - 3.0.3 3.0.3
dbus - 0.7.10 0.7.10
device_info_plus_platform_interface - 7.0.0 7.0.0
ffi - 2.1.2 2.1.2
file - 6.1.4 7.0.0
fixnum - 1.1.0 1.1.0
flutter_local_notifications_linux - 4.0.0+1 4.0.0+1
flutter_local_notifications_platform_interface - 7.1.0 7.1.0
flutter_web_plugins - 0.0.0 0.0.0
http - 1.2.1 1.2.1
http_parser - 4.0.2 4.0.2
js - 0.6.7 0.7.1
just_audio_platform_interface - 4.2.2 4.2.2
just_audio_web - 0.4.9 0.4.9
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
openhiit_background_service_ios - 1.0.0-dev.1 1.0.0-dev.1
openhiit_background_service_platform_interface - 1.0.0-dev.1 1.0.0-dev.1
path - 1.9.0 1.9.0
path_provider - 2.1.3 2.1.3
path_provider_android - 2.2.4 2.2.4
path_provider_foundation - 2.3.2 2.3.2
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.2.1 2.2.1
petitparser - 6.0.2 6.0.2
platform - 3.1.4 3.1.4
plugin_platform_interface - 2.1.8 2.1.8
rxdart - 0.27.7 0.27.7
shared_preferences_android - 2.2.2 2.2.2
shared_preferences_foundation - 2.3.5 2.3.5
shared_preferences_linux - 2.3.2 2.3.2
shared_preferences_platform_interface - 2.3.2 2.3.2
shared_preferences_web - 2.3.0 2.3.0
shared_preferences_windows - 2.3.2 2.3.2
sky_engine - 0.0.99 0.0.99
soundpool_macos - 2.3.0 2.3.0
soundpool_platform_interface - 2.2.0 2.2.0
soundpool_web - 2.3.0 2.3.0
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
string_scanner - 1.2.0 1.2.0
synchronized - 3.1.0+1 3.1.0+1
term_glyph - 1.2.1 1.2.1
timezone - 0.9.3 0.9.3
typed_data - 1.3.2 1.3.2
uuid - 4.4.0 4.4.0
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1
win32 - 4.1.4 5.5.0
xdg_directories - 1.0.4 1.0.4
xml - 6.5.0 6.5.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 3 issues. Showing the first 2:

The constraint `^5.1.0` on audioplayers does not support the stable version `6.0.0`.

Try running dart pub upgrade --major-versions audioplayers to update the constraint.

The constraint `^8.0.0` on device_info_plus does not support the stable version `9.0.0`.

Try running dart pub upgrade --major-versions device_info_plus to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

Analyzed with Pana 0.22.3, Flutter 3.19.6, Dart 3.3.4.

Check the analysis log for details.