distance_route 0.2.0
distance_route: ^0.2.0 copied to clipboard
A Flutter package for calculating and displaying routes with Google Maps.
We analyzed this package 12 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
712 out of 747 API elements (95.3 %) have documentation comments.
Some symbols that are missing documentation: distance_route, distance_route.ArgumentCallbacks.ArgumentCallbacks.new, distance_route.MapObjects.circles, distance_route.MapObjects.clusterManagers, distance_route.MapObjects.groundOverlays.
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:distance_route/distance_route.dartthat imports:package:keep_screen_on/keep_screen_on.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:distance_route/distance_route.dartthat imports:package:keep_screen_on/keep_screen_on.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:distance_route/distance_route.dartthat imports:package:keep_screen_on/keep_screen_on.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:distance_route/distance_route.dartthat imports:package:keep_screen_on/keep_screen_on.dartthat declares support for platforms:Android,iOS.
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:distance_route/distance_route.dartthat imports:package:geolocator/geolocator.dartthat imports:package:geolocator_web/web_settings.dartthat declares support for platforms:Web.
Package does not support platform `iOS`.
Because:
package:distance_route/distance_route.dartthat imports:package:geolocator/geolocator.dartthat imports:package:geolocator_web/web_settings.dartthat declares support for platforms:Web.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 10 issues. Showing the first 2:
INFO: The private field _drivers could be 'final'.
lib/distance_route.dart:88:23
╷
88 │ Map<String, LatLng> _drivers = {'driver_1': const LatLng(28.616, 77.21)};
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/distance_route.dart
INFO: The private field _navigationSteps could be 'final'.
lib/distance_route.dart:93:18
╷
93 │ List<StepInfo> _navigationSteps = [];
│ ^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/distance_route.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
flutter_compass |
^0.8.1 |
0.8.1 | 0.8.1 | |
flutter_polyline_points |
^3.1.0 |
3.1.0 | 3.1.0 | |
geolocator |
^14.0.2 |
14.0.3 | 14.0.3 | |
google_maps_flutter |
^2.13.1 |
2.18.1 | 2.18.1 | |
google_maps_flutter_platform_interface |
^2.4.0 |
2.17.0 | 2.17.0 | |
http |
^1.5.0 |
1.6.0 | 1.6.0 | |
keep_screen_on |
^5.0.0 |
5.0.0 | 7.0.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.3 | 1.1.3 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
csslib |
- | 1.0.2 | 1.0.2 | |
dbus |
- | 0.7.15 | 0.8.0 | |
ffi |
- | 2.2.0 | 2.2.0 | |
ffi_leak_tracker |
- | 0.1.2 | 0.1.2 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
flutter_plugin_android_lifecycle |
- | 2.0.35 | 2.0.35 | |
geoclue |
- | 0.1.1 | 0.1.1 | |
geolocator_android |
- | 5.0.3 | 5.0.3 | |
geolocator_apple |
- | 2.3.14 | 2.3.14 | |
geolocator_linux |
- | 0.2.6 | 0.2.6 | |
geolocator_platform_interface |
- | 4.3.0 | 4.3.0 | |
geolocator_web |
- | 4.1.4 | 4.1.4 | |
geolocator_windows |
- | 0.2.5 | 0.2.5 | |
google_maps |
- | 8.3.0 | 8.3.0 | |
google_maps_flutter_android |
- | 2.19.13 | 2.19.13 | |
google_maps_flutter_ios |
- | 2.18.6 | 2.18.6 | |
google_maps_flutter_web |
- | 0.6.3+1 | 0.6.3+1 | |
gsettings |
- | 0.2.8 | 0.2.8 | |
html |
- | 0.15.7 | 0.15.7 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
keep_screen_on_platform_interface |
- | 3.0.0 | 3.0.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
package_info_plus |
- | 10.2.1 | 10.2.1 | |
package_info_plus_platform_interface |
- | 4.1.0 | 4.1.0 | |
path |
- | 1.9.1 | 1.9.1 | |
petitparser |
- | 7.0.2 | 7.0.2 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
sanitize_html |
- | 2.2.0 | 2.2.0 | |
source_span |
- | 1.10.2 | 1.10.2 | |
stream_transform |
- | 2.1.2 | 2.1.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.6.0 | 4.6.0 | |
vector_math |
- | 2.4.2 | 2.4.2 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 6.4.0 | 6.4.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 7.0.1 | 7.0.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^5.0.0` on keep_screen_on does not support the stable version `6.0.0`.
Try running dart pub upgrade --major-versions keep_screen_on 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.19, Flutter 3.47.4, Dart 3.13.3.
Check the analysis log for details.