flutter_bgtimer_countdown 0.0.1 flutter_bgtimer_countdown: ^0.0.1 copied to clipboard
Circular countdown for flutter.
We analyzed this package 2 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 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.
- 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
, 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.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
.
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
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
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.