inherited_geolocation 0.5.0-beta.2
inherited_geolocation: ^0.5.0-beta.2 copied to clipboard
An inherited widget that manages geolocation updates from the user.
We analyzed this package 31 hours ago, and awarded it 130 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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.
10/10 points: 20% or more of the public API has dartdoc comments
97 out of 139 API elements (69.8 %) have documentation comments.
Some symbols that are missing documentation: inherited_geolocation, inherited_geolocation.AvailableStatus, inherited_geolocation.AvailableStatus.AvailableStatus.new, inherited_geolocation.AvailableStatus.position, inherited_geolocation.DisabledStatus.
10/10 points: Package has an example
20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:inherited_geolocation/inherited_geolocation.dartthat imports:package:geolocator/geolocator.dartthat declares support for platforms:Android,iOS,macOS,Web.
Package does not support platform `Linux`.
Because:
package:inherited_geolocation/inherited_geolocation.dartthat imports:package:geolocator/geolocator.dartthat declares support for platforms:Android,iOS,macOS,Web.
WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 6 issues. Showing the first 2:
WARNING: The receiver can't be null, so the null-aware operator '?.' is unnecessary.
lib/src/geolocation.dart:149:28
╷
149 │ WidgetsBinding.instance?.addObserver(this);
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/geolocation.dart
WARNING: The receiver can't be null, so the null-aware operator '?.' is unnecessary.
lib/src/geolocation.dart:157:30
╷
157 │ WidgetsBinding.instance?.addPostFrameCallback((timeStamp) {
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/geolocation.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
equatable |
^2.0.0 |
2.0.8 | 2.0.8 | |
geolocator |
^7.0.1 |
7.7.1 | 14.0.2 | |
locale_latlng |
^1.0.2 |
1.0.2 | 1.0.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
geolocator_android |
- | 2.1.0 | 5.0.2 | |
geolocator_apple |
- | 1.2.2 | 2.3.13 | |
geolocator_platform_interface |
- | 2.3.6 | 4.2.6 | |
geolocator_web |
- | 2.0.6 | 4.1.3 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
vector_math |
- | 2.2.0 | 2.2.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^7.0.1` on geolocator does not support the stable version `8.0.0`.
Try running dart pub upgrade --major-versions geolocator 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.10, Flutter 3.41.2, Dart 3.11.0.
Check the analysis log for details.