flutter_bgtimer_countdown 0.0.1 copy "flutter_bgtimer_countdown: ^0.0.1" to clipboard
flutter_bgtimer_countdown: ^0.0.1 copied to clipboard

Circular countdown for flutter.

2
likes
100/ 160
pub points
32%
popularity

We analyzed this package 2 days ago, and awarded it 100 pub points (of a possible 160):

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.

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: flutter_bgtimer_countdown,
    • contains a version property, and,
    • does not contain a publish_to property.

Repository has no matching pubspec.yaml with name: flutter_bgtimer_countdown.

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.

failed
Provide documentation
0 / 20trigger folding of the section

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

4 out of 26 API elements (15.4 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: NegativeOutlineButton, NegativeOutlineButton.NegativeOutlineButton, NegativeOutlineButton.NegativeOutlineButton.NegativeOutlineButton, NegativeOutlineButton.NegativeOutlineButton.onPress, NegativeOutlineButton.NegativeOutlineButton.text.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:flutter_bgtimer_countdown/flutter_bgtimer_countdown.dart that imports:
  • package:wakelock/wakelock.dart that imports:
  • package:wakelock_macos/wakelock_macos.dart that declares support for platforms: macOS.
Package does not support platform `Linux`.

Because:

  • package:flutter_bgtimer_countdown/flutter_bgtimer_countdown.dart that imports:
  • package:wakelock/wakelock.dart that declares support for platforms: Android, iOS, Windows, macOS, Web.
Package does not support platform `macOS`.

Because:

  • package:flutter_bgtimer_countdown/flutter_bgtimer_countdown.dart that imports:
  • package:wakelock/wakelock.dart that imports:
  • package:wakelock_windows/wakelock_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Web`.

Because:

  • package:flutter_bgtimer_countdown/flutter_bgtimer_countdown.dart that imports:
  • package:wakelock/wakelock.dart that imports:
  • package:wakelock_macos/wakelock_macos.dart that declares support for platforms: macOS.

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:flutter_bgtimer_countdown/flutter_bgtimer_countdown.dart that imports:
  • package:wakelock/wakelock.dart that imports:
  • package:wakelock_macos/wakelock_macos.dart that declares support for platforms: macOS.
Package does not support platform `iOS`.

Because:

  • package:flutter_bgtimer_countdown/flutter_bgtimer_countdown.dart that imports:
  • package:wakelock/wakelock.dart that imports:
  • package:wakelock_macos/wakelock_macos.dart that declares support for platforms: macOS.
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 29 issues. Showing the first 2:

WARNING: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: MyApp.duration

lib/flutter_bgtimer_countdown.dart:24:7

   ╷
24 │ class MyApp extends StatefulWidget {
   │       ^^^^^
   ╵

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

WARNING: The value of the local variable 'now' isn't used.

lib/flutter_bgtimer_countdown.dart:168:42

    ╷
168 │                                 DateTime now = DateTime.now().add(durationMin);
    │                                          ^^^
    ╵

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

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest
cupertino_icons ^1.0.2 1.0.8 1.0.8
device_info_plus ^4.1.2 4.1.3 10.1.0
flutter flutter 0.0.0 0.0.0
flutter_background_service ^2.3.7 2.4.6 5.0.5
flutter_easyloading ^3.0.5 3.0.5 3.0.5
flutter_local_notifications ^9.1.2 9.9.1 17.1.2
shared_preferences ^2.0.6 2.2.3 2.2.3
wakelock ^0.6.1+2 0.6.2 0.6.2
Transitive dependencies
Package Constraint Compatible Latest
args - 2.5.0 2.5.0
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
collection - 1.18.0 1.19.0
dbus - 0.7.10 0.7.10
device_info_plus_linux - 3.0.0 5.0.0
device_info_plus_macos - 3.0.0 5.0.0
device_info_plus_platform_interface - 3.0.0 7.0.0
device_info_plus_web - 3.0.0 5.0.0
device_info_plus_windows - 4.1.0 6.0.0
ffi - 2.1.2 2.1.2
file - 6.1.4 7.0.0
flutter_background_service_android - 3.0.3 6.2.2
flutter_background_service_ios - 2.4.0 5.0.0
flutter_background_service_platform_interface - 2.2.0 5.0.0
flutter_local_notifications_linux - 0.5.1 4.0.0+1
flutter_local_notifications_platform_interface - 5.0.0 7.1.0
flutter_spinkit - 5.2.1 5.2.1
flutter_web_plugins - 0.0.0 0.0.0
js - 0.6.7 0.7.1
material_color_utilities - 0.8.0 0.12.0
meta - 1.12.0 1.15.0
path - 1.9.0 1.9.0
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.5 3.1.5
plugin_platform_interface - 2.1.8 2.1.8
process - 4.2.4 5.0.2
shared_preferences_android - 2.2.3 2.2.3
shared_preferences_foundation - 2.4.0 2.4.0
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
timezone - 0.8.0 0.9.3
vector_math - 2.1.4 2.1.4
wakelock_macos - 0.4.0 0.4.0
wakelock_platform_interface - 0.3.0 0.3.0
wakelock_web - 0.4.0 0.4.0
wakelock_windows - 0.2.1 0.2.1
web - 0.5.1 0.5.1
win32 - 3.1.4 5.5.1
xdg_directories - 0.2.0+3 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 `^4.1.2` on device_info_plus does not support the stable version `5.0.0`.

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

The constraint `^2.3.7` on flutter_background_service does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions flutter_background_service 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.6, Flutter 3.22.2, Dart 3.4.3.

Check the analysis log for details.