generic_map 0.1.5
generic_map: ^0.1.5 copied to clipboard
A generic maps api supporting Google Maps, Mapbox, and OpenStreetMaps
We analyzed this package 3 days ago, and awarded it 100 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
pubspec.yaml
doesn't have ahomepage
entry.pubspec.yaml
doesn't have arepository
entry.
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
10 out of 124 API elements (8.1 %) 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: extensions
, extensions.GoogleMapLatLngConverter
, extensions.GoogleMapLatLngConverter.toLatLng
, extensions.LatLngConverter
, extensions.LatLngConverter.toGoogleMapLatLng
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
- ✓ iOS
- ✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:generic_map/extensions.dart
that imports:package:google_maps_flutter/google_maps_flutter.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `Linux`.
Because:
package:generic_map/extensions.dart
that imports:package:google_maps_flutter/google_maps_flutter.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `macOS`.
Because:
package:generic_map/extensions.dart
that imports:package:google_maps_flutter/google_maps_flutter.dart
that declares support for platforms:Android
,iOS
,Web
.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:generic_map/flutter_map/flutter_map_controller.dart
that imports:package:generic_map/map_view.dart
that imports:package:generic_map/flutter_map/flutter_map_view.dart
that imports:package:geolocator/geolocator.dart
that imports:package:geolocator_apple/geolocator_apple.dart
that declares support for platforms:iOS
,macOS
.
Package does not support platform `iOS`.
Because:
package:generic_map/extensions.dart
that imports:package:google_maps_flutter/google_maps_flutter.dart
that imports:package:google_maps_flutter_android/google_maps_flutter_android.dart
that declares support for platforms:Android
.
Package does not support platform `Web`.
Because:
package:generic_map/extensions.dart
that imports:package:google_maps_flutter/google_maps_flutter.dart
that imports:package:google_maps_flutter_android/google_maps_flutter_android.dart
that declares support for platforms:Android
.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 6 issues. Showing the first 2:
WARNING: Unused import: 'package:flutter_map_cancellable_tile_provider/flutter_map_cancellable_tile_provider.dart'.
lib/flutter_map/tile_layers/mapbox_tile_layer.dart:2:8
╷
2 │ import 'package:flutter_map_cancellable_tile_provider/flutter_map_cancellable_tile_provider.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/flutter_map/tile_layers/mapbox_tile_layer.dart
WARNING: Unused import: 'package:flutter/material.dart'.
lib/google_map/google_map_controller.dart:4:8
╷
4 │ import 'package:flutter/material.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/google_map/google_map_controller.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
collection |
^1.17.2 |
1.18.0 | 1.19.0 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_map |
^6.0.1 |
6.2.1 | 7.0.1 |
flutter_map_animations |
^0.5.3 |
0.5.3 | 0.7.0 |
flutter_map_cancellable_tile_provider |
^1.0.0 |
1.0.0 | 3.0.0 |
flutter_map_location_marker |
^8.0.0 |
8.0.5 | 9.0.0 |
geolocator |
^10.1.0 |
10.1.1 | 12.0.0 |
google_maps_flutter |
^2.4.0 |
2.7.0 | 2.7.0 |
latlong2 |
^0.9.0 |
0.9.1 | 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 |
crypto |
- | 3.0.3 | 3.0.3 |
csslib |
- | 1.0.0 | 1.0.0 |
dio |
- | 5.4.3+1 | 5.4.3+1 |
fixnum |
- | 1.1.0 | 1.1.0 |
flutter_compass |
- | 0.8.0 | 0.8.0 |
flutter_plugin_android_lifecycle |
- | 2.0.20 | 2.0.20 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
geolocator_android |
- | 4.6.0 | 4.6.0 |
geolocator_apple |
- | 2.3.7 | 2.3.7 |
geolocator_platform_interface |
- | 4.2.4 | 4.2.4 |
geolocator_web |
- | 2.2.1 | 4.0.0 |
geolocator_windows |
- | 0.2.3 | 0.2.3 |
google_maps |
- | 7.1.0 | 7.1.0 |
google_maps_flutter_android |
- | 2.10.0 | 2.10.0 |
google_maps_flutter_ios |
- | 2.8.0 | 2.8.0 |
google_maps_flutter_platform_interface |
- | 2.8.0 | 2.8.0 |
google_maps_flutter_web |
- | 0.5.8 | 0.5.8 |
html |
- | 0.15.4 | 0.15.4 |
http |
- | 1.2.1 | 1.2.1 |
http_parser |
- | 4.0.2 | 4.1.0 |
intl |
- | 0.19.0 | 0.19.0 |
js |
- | 0.6.7 | 0.7.1 |
js_wrapping |
- | 0.7.4 | 0.7.4 |
lists |
- | 1.0.1 | 1.0.1 |
logger |
- | 2.3.0 | 2.3.0 |
material_color_utilities |
- | 0.8.0 | 0.12.0 |
meta |
- | 1.12.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 |
polylabel |
- | 1.0.1 | 1.0.1 |
proj4dart |
- | 2.1.0 | 2.1.0 |
sanitize_html |
- | 2.1.0 | 2.1.0 |
sky_engine |
- | 0.0.99 | 0.0.99 |
source_span |
- | 1.10.0 | 1.10.0 |
sprintf |
- | 7.0.0 | 7.0.0 |
stream_transform |
- | 2.1.0 | 2.1.0 |
string_scanner |
- | 1.2.0 | 1.2.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
typed_data |
- | 1.3.2 | 1.3.2 |
unicode |
- | 0.3.1 | 0.3.1 |
uuid |
- | 4.4.0 | 4.4.0 |
vector_math |
- | 2.1.4 | 2.1.4 |
web |
- | 0.5.1 | 0.5.1 |
wkt_parser |
- | 2.0.0 | 2.0.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 5 issues. Showing the first 2:
The constraint `^6.0.1` on flutter_map does not support the stable version `7.0.0`, that was published 26 days ago.
When flutter_map is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions flutter_map
to update the constraint.
The constraint `^0.5.3` on flutter_map_animations does not support the stable version `0.6.0`.
Try running dart pub upgrade --major-versions flutter_map_animations
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.7
, Flutter 3.22.2
, Dart 3.4.3
.
Check the analysis log for details.