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 7 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
, 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.dart
that imports:package:flutter_map_location/src/location_plugin.dart
that imports:package:flutter_map_location/src/location_layer.dart
that imports:package:geolocator/geolocator.dart
that declares support for platforms:Android
,iOS
,macOS
,Web
.
Package does not support platform `Linux`.
Because:
package:flutter_map_location/flutter_map_location.dart
that imports:package:flutter_map_location/src/location_plugin.dart
that imports:package:flutter_map_location/src/location_layer.dart
that imports:package:geolocator/geolocator.dart
that declares support for platforms:Android
,iOS
,macOS
,Web
.
Package does not support platform `macOS`.
Because:
package:flutter_map_location/flutter_map_location.dart
that imports:package:flutter_map_location/src/location_plugin.dart
that imports:package:flutter_map_location/src/location_layer.dart
that imports:package:flutter_compass/flutter_compass.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:flutter_map_location/flutter_map_location.dart
that imports:package:flutter_map_location/src/location_plugin.dart
that imports:package:flutter_map_location/src/location_layer.dart
that imports:package:flutter_compass/flutter_compass.dart
that 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.dart
that imports:package:flutter_map_location/src/location_plugin.dart
that imports:package:flutter_map_location/src/location_options.dart
that imports:package:flutter_map/plugin_api.dart
that imports:package:flutter_map/src/map/map.dart
that imports:package:flutter_map/flutter_map.dart
that imports:package:flutter_map/src/layer/tile_provider/tile_provider.dart
that 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 |
---|---|---|---|
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_compass |
^0.6.1 |
0.6.1 | 0.8.1 |
flutter_map |
^0.13.1 |
0.13.1 | 7.0.2 |
geolocator |
^7.0.3 |
7.7.1 | 13.0.2 |
latlong2 |
^0.8.0 |
0.8.2 | 0.9.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.12.0 | 2.12.0 |
characters |
- | 1.3.0 | 1.4.0 |
clock |
- | 1.1.2 | 1.1.2 |
collection |
- | 1.19.0 | 1.19.1 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
geolocator_android |
- | 2.1.0 | 4.6.1 |
geolocator_apple |
- | 1.2.2 | 2.3.8+1 |
geolocator_platform_interface |
- | 2.3.6 | 4.2.4 |
geolocator_web |
- | 2.0.6 | 4.1.1 |
http |
- | 0.13.6 | 1.2.2 |
http_parser |
- | 4.1.1 | 4.1.1 |
intl |
- | 0.17.0 | 0.20.1 |
lists |
- | 1.0.1 | 1.0.1 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
mgrs_dart |
- | 2.0.0 | 2.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 | 2.1.0 |
sky_engine |
- | 0.0.0 | 0.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 | 0.3.1 |
vector_math |
- | 2.1.4 | 2.1.4 |
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.22.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.