map_polyline_draw 1.0.4
map_polyline_draw: ^1.0.4 copied to clipboard
Map Polyline Draw Package to show Map Polyline between Two Points
We analyzed this package 33 hours ago, and awarded it 140 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
24 out of 49 API elements (49.0 %) have documentation comments.
Some symbols that are missing documentation: location_helper, location_helper.LocationHelper, location_helper.LocationHelper.LocationHelper.new, location_helper.LocationHelper.getRouteCoordinates, location_provider.
10/10 points: Package has 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:map_polyline_draw/map_polyline_draw.dartthat imports:package:map_polyline_draw/provider/location_provider.dartthat imports:package:map_polyline_draw/helper/location_helper.dartthat imports:package:google_maps_flutter/google_maps_flutter.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Linux`.
Because:
package:map_polyline_draw/map_polyline_draw.dartthat imports:package:map_polyline_draw/provider/location_provider.dartthat imports:package:map_polyline_draw/helper/location_helper.dartthat imports:package:google_maps_flutter/google_maps_flutter.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `macOS`.
Because:
package:map_polyline_draw/map_polyline_draw.dartthat imports:package:map_polyline_draw/provider/location_provider.dartthat imports:package:map_polyline_draw/helper/location_helper.dartthat imports:package:google_maps_flutter/google_maps_flutter.dartthat 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 `iOS`.
Because:
package:map_polyline_draw/map_polyline_draw.dartthat imports:package:map_polyline_draw/provider/location_provider.dartthat imports:package:map_polyline_draw/helper/location_helper.dartthat imports:package:google_maps_flutter/google_maps_flutter.dartthat imports:package:google_maps_flutter_android/google_maps_flutter_android.dartthat declares support for platforms:Android.
Package does not support platform `Web`.
Because:
package:map_polyline_draw/map_polyline_draw.dartthat imports:package:map_polyline_draw/provider/location_provider.dartthat imports:package:map_polyline_draw/helper/location_helper.dartthat imports:package:google_maps_flutter/google_maps_flutter.dartthat imports:package:google_maps_flutter_android/google_maps_flutter_android.dartthat declares support for platforms:Android.
0/0 points: WASM compatibility
This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.
See https://dart.cn/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
INFO: The import of 'dart:typed_data' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/services.dart'.
lib/map_polyline_draw.dart:4:8
╷
4 │ import 'dart:typed_data';
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/map_polyline_draw.dart
INFO: Statements in a for should be enclosed in a block.
lib/provider/location_provider.dart:115:44
╷
115 │ for (var i = 2; i < list2.length; i++) list2[i] += list2[i - 2];
│ ^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/provider/location_provider.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
google_maps_flutter |
^2.0.3 |
2.14.0 | 2.14.0 | |
http |
^0.13.2 |
0.13.6 | 1.5.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
csslib |
- | 1.0.2 | 1.0.2 | |
flutter_plugin_android_lifecycle |
- | 2.0.32 | 2.0.32 | |
google_maps |
- | 8.2.0 | 8.2.0 | |
google_maps_flutter_android |
- | 2.18.4 | 2.18.4 | |
google_maps_flutter_ios |
- | 2.15.5 | 2.15.5 | |
google_maps_flutter_platform_interface |
- | 2.14.0 | 2.14.0 | |
google_maps_flutter_web |
- | 0.5.14+2 | 0.5.14+2 | |
html |
- | 0.15.6 | 0.15.6 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
sanitize_html |
- | 2.1.0 | 2.1.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stream_transform |
- | 2.1.1 | 2.1.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^0.13.2` on http does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions http 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.35.7, Dart 3.9.2.
Check the analysis log for details.