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 3 days ago, and awarded it 100 pub points (of a possible 140):
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 41 API elements (14.6 %) 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.
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
.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 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.0 |
flutter_map |
^0.13.1 |
0.13.1 | 6.1.0 |
geolocator |
^7.0.3 |
7.7.1 | 11.0.0 |
latlong2 |
^0.8.0 |
0.8.2 | 0.9.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.11.0 | 2.11.0 |
characters |
- | 1.3.0 | 1.3.0 |
clock |
- | 1.1.1 | 1.1.1 |
collection |
- | 1.18.0 | 1.18.0 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
geolocator_android |
- | 2.1.0 | 4.5.5 |
geolocator_apple |
- | 1.2.2 | 2.3.7 |
geolocator_platform_interface |
- | 2.3.6 | 4.2.2 |
geolocator_web |
- | 2.0.6 | 3.0.0 |
http |
- | 0.13.6 | 1.2.1 |
http_parser |
- | 4.0.2 | 4.0.2 |
intl |
- | 0.17.0 | 0.19.0 |
lists |
- | 1.0.1 | 1.0.1 |
material_color_utilities |
- | 0.8.0 | 0.11.1 |
meta |
- | 1.11.0 | 1.15.0 |
mgrs_dart |
- | 2.0.0 | 2.0.0 |
path |
- | 1.9.0 | 1.9.0 |
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.99 | 0.0.99 |
source_span |
- | 1.10.0 | 1.10.0 |
string_scanner |
- | 1.2.0 | 1.2.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
transparent_image |
- | 2.0.1 | 2.0.1 |
tuple |
- | 2.0.2 | 2.0.2 |
typed_data |
- | 1.3.2 | 1.3.2 |
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
Analyzed with Pana 0.22.3
, Flutter 3.19.6
, Dart 3.3.4
.
Check the analysis log for details.