flutter_bgtimer_countdown 0.0.1 
flutter_bgtimer_countdown: ^0.0.1 copied to clipboard
Circular countdown for flutter.
We analyzed this package 6 days ago, and awarded it 100 pub points (of a possible 160):
 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 50 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:
repositorycan be cloned,- a clone of the repository contains a 
pubspec.yaml, which:,- contains 
name: flutter_bgtimer_countdown, - contains a 
versionproperty, and, - does not contain a 
publish_toproperty. 
 - contains 
 
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.
 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.new, 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.
 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.dartthat imports:package:wakelock/wakelock.dartthat imports:package:wakelock_macos/wakelock_macos.dartthat declares support for platforms:macOS.
Package does not support platform `Linux`.
Because:
package:flutter_bgtimer_countdown/flutter_bgtimer_countdown.dartthat imports:package:wakelock/wakelock.dartthat declares support for platforms:Android,iOS,Windows,macOS,Web.
Package does not support platform `macOS`.
Because:
package:flutter_bgtimer_countdown/flutter_bgtimer_countdown.dartthat imports:package:wakelock/wakelock.dartthat imports:package:wakelock_windows/wakelock_windows.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `Web`.
Because:
package:flutter_bgtimer_countdown/flutter_bgtimer_countdown.dartthat imports:package:wakelock/wakelock.dartthat imports:package:wakelock_macos/wakelock_macos.dartthat 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.dartthat imports:package:wakelock/wakelock.dartthat imports:package:wakelock_macos/wakelock_macos.dartthat declares support for platforms:macOS.
Package does not support platform `iOS`.
Because:
package:flutter_bgtimer_countdown/flutter_bgtimer_countdown.dartthat imports:package:wakelock/wakelock.dartthat imports:package:wakelock_macos/wakelock_macos.dartthat declares support for platforms:macOS.
 0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:flutter_bgtimer_countdown/flutter_bgtimer_countdown.dartthat imports:package:wakelock/wakelock.dartthat 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.cn/web/wasm for details.
 30/50 points: code has no errors, warnings, lints, or formatting issues
Found 97 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
 0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes | 
|---|---|---|---|---|
cupertino_icons | 
^1.0.2 | 
1.0.8 | 1.0.8 | |
device_info_plus | 
^4.1.2 | 
4.1.3 | 12.2.0 | |
flutter_background_service | 
^2.3.7 | 
2.4.6 | 5.1.0 | |
flutter_easyloading | 
^3.0.5 | 
3.0.5 | 3.0.5 | |
flutter_local_notifications | 
^9.1.2 | 
9.9.1 | 19.5.0 | |
shared_preferences | 
^2.0.6 | 
2.5.3 | 2.5.3 | |
wakelock | 
^0.6.1+2 | 
0.6.2 | 0.6.2 | Discontinued | 
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 4 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.23.0, Flutter 3.35.7, Dart 3.9.2.
Check the analysis log for details.