flutter_map_location 0.12.0
flutter_map_location: ^0.12.0 copied to clipboard
flutter_map plugin to request and display the users location and heading on the map.
We analyzed this package 2 days ago, and awarded it 120 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.
0/10 points: 20% or more of the public API has dartdoc comments
6 out of 40 API elements (15.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: flutter_map_location, flutter_map_location.LatLngData, flutter_map_location.LatLngData.LatLngData.new, flutter_map_location.LatLngData.highAccuracy, flutter_map_location.LatLngData.location.
10/10 points: Package has 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_map_location/flutter_map_location.dartthat imports:package:flutter_map_location/src/location_plugin.dartthat imports:package:flutter_map_location/src/location_layer.dartthat imports:package:geolocator/geolocator.dartthat declares support for platforms:Android,iOS,macOS,Web.
Package does not support platform `Linux`.
Because:
package:flutter_map_location/flutter_map_location.dartthat imports:package:flutter_map_location/src/location_plugin.dartthat imports:package:flutter_map_location/src/location_layer.dartthat imports:package:geolocator/geolocator.dartthat declares support for platforms:Android,iOS,macOS,Web.
Package does not support platform `macOS`.
Because:
package:flutter_map_location/flutter_map_location.dartthat imports:package:flutter_map_location/src/location_plugin.dartthat imports:package:flutter_map_location/src/location_layer.dartthat imports:package:flutter_compass/flutter_compass.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:flutter_map_location/flutter_map_location.dartthat imports:package:flutter_map_location/src/location_plugin.dartthat imports:package:flutter_map_location/src/location_layer.dartthat imports:package:flutter_compass/flutter_compass.dartthat declares support for platforms:Android,iOS.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:flutter_map_location/flutter_map_location.dartthat imports:package:flutter_map_location/src/location_plugin.dartthat imports:package:flutter_map_location/src/location_options.dartthat imports:package:flutter_map/plugin_api.dartthat imports:package:flutter_map/src/map/map.dartthat imports:package:flutter_map/flutter_map.dartthat imports:package:flutter_map/src/layer/tile_provider/tile_provider.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.dev/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 8 issues. Showing the first 2:
WARNING: Duplicate import.
lib/src/location_layer.dart:19:8
╷
19 │ import 'types.dart';
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/location_layer.dart
WARNING: The receiver can't be null, so the null-aware operator '?.' is unnecessary.
lib/src/location_layer.dart:59:28
╷
59 │ WidgetsBinding.instance?.addObserver(this);
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/location_layer.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
flutter_compass |
^0.6.1 |
0.6.1 | 0.8.1 | |
flutter_map |
^0.13.1 |
0.13.1 | 8.2.2 | |
geolocator |
^7.0.3 |
7.7.1 | 14.0.2 | |
latlong2 |
^0.8.0 |
0.8.2 | 0.9.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
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 | |
http |
- | 0.13.6 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
intl |
- | 0.17.0 | 0.20.2 | |
lists |
- | 1.0.1 | 1.0.1 | Discontinued |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
mgrs_dart |
- | 2.0.0 | 3.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
positioned_tap_detector_2 |
- | 1.0.4 | 1.0.4 | |
proj4dart |
- | 2.1.0 | 3.0.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
transparent_image |
- | 2.0.1 | 2.0.1 | |
tuple |
- | 2.0.2 | 2.0.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
unicode |
- | 0.3.1 | 1.1.8 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
wkt_parser |
- | 2.0.0 | 2.0.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 4 issues. Showing the first 2:
The constraint `^0.6.1` on flutter_compass does not support the stable version `0.7.0`.
Try running dart pub upgrade --major-versions flutter_compass to update the constraint.
The constraint `^0.13.1` on flutter_map does not support the stable version `0.14.0`.
Try running dart pub upgrade --major-versions flutter_map 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.1, Flutter 3.38.0, Dart 3.10.0-290.4.beta.
Check the analysis log for details.