location_service_with_permission 0.0.3
location_service_with_permission: ^0.0.3 copied to clipboard
Effortless Location Handling in Flutter: Permissions and Updates Simplified.
We analyzed this package 9 days ago, and awarded it 35 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("0.0.3").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: GPL-3.0.
0/10 points: 20% or more of the public API has dartdoc comments
0 out of 32 API elements (0.0 %) 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: LocationInfo, exeptions, exeptions.CheckAndRequestLocationPermessionExeption, exeptions.CheckAndRequestLocationPermessionExeption.CheckAndRequestLocationPermessionExeption.new, exeptions.CheckAndRequestLocationPermessionExeption.message.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
ERROR: Target of URI doesn't exist: 'package:location_service_with_permission/LocationInfo.dart'.
lib/location_service.dart:4:8
╷
4 │ import 'package:location_service_with_permission/LocationInfo.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/location_service.dart
ERROR: Undefined class 'LocationInfo'.
lib/location_service.dart:53:21
╷
53 │ void Function(LocationInfo)? onData) async {
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/location_service.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
location |
^7.0.0 |
7.0.1 | 8.0.1 | |
permission_handler |
^11.3.1 |
11.4.0 | 12.0.1 | |
shared_preferences |
^2.2.3 |
2.5.5 | 2.5.5 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^7.0.0` on location does not support the stable version `8.0.0`.
Try running dart pub upgrade --major-versions location to update the constraint.
The constraint `^11.3.1` on permission_handler does not support the stable version `12.0.0`.
Try running dart pub upgrade --major-versions permission_handler to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 5 errors:
URI_DOES_NOT_EXIST-lib/location_service.dart:4:8- Target of URI doesn't exist: 'package:location_service_with_permission/LocationInfo.dart'.UNDEFINED_CLASS-lib/location_service.dart:53:21- Undefined class 'LocationInfo'.UNDEFINED_IDENTIFIER-lib/location_service.dart:57:15- Undefined name 'LocationInfo'.
Run flutter pub downgrade and then flutter analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.12, Flutter 3.41.4, Dart 3.11.1.
Check the analysis log for details.