distance_route 0.0.9 copy "distance_route: ^0.0.9" to clipboard
distance_route: ^0.0.9 copied to clipboard

A Flutter package for calculating and displaying routes with Google Maps.

135/ 160
pub points
140
downloads

We analyzed this package 11 hours ago, and awarded it 135 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
25 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("0.0.9").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

701 out of 729 API elements (96.2 %) 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.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 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.dart that imports:
  • package:keep_screen_on/keep_screen_on.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:distance_route/distance_route.dart that imports:
  • package:keep_screen_on/keep_screen_on.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:distance_route/distance_route.dart that imports:
  • package:keep_screen_on/keep_screen_on.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:distance_route/distance_route.dart that imports:
  • package:keep_screen_on/keep_screen_on.dart that 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.dart that imports:
  • package:geolocator/geolocator.dart that imports:
  • package:geolocator_web/web_settings.dart that declares support for platforms: Web.
Package does not support platform `iOS`.

Because:

  • package:distance_route/distance_route.dart that imports:
  • package:geolocator/geolocator.dart that imports:
  • package:geolocator_web/web_settings.dart that declares support for platforms: Web.
Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

Found 8 issues. Showing the first 2:

WARNING: The declaration '_calculateBearing' isn't referenced.

lib/distance_route.dart:184:10

    ╷
184 │   double _calculateBearing(LatLng from, LatLng to) {
    │          ^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/distance_route.dart

WARNING: The value of the field '_lastBearing' isn't used.

lib/distance_route.dart:366:11

    ╷
366 │   double? _lastBearing;
    │           ^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/distance_route.dart

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

Passed check 10/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.2 14.0.2
google_maps_flutter ^2.13.1 2.14.0 2.14.0
google_maps_flutter_platform_interface ^2.4.0 2.14.1 2.14.1
http ^1.5.0 1.6.0 1.6.0
keep_screen_on ^5.0.0 5.0.0 5.0.0
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
csslib - 1.0.2 1.0.2
dbus - 0.7.11 0.7.11
ffi - 2.1.4 2.1.4
fixnum - 1.1.1 1.1.1
flutter_plugin_android_lifecycle - 2.0.33 2.0.33
geoclue - 0.1.1 0.1.1
geolocator_android - 5.0.2 5.0.2
geolocator_apple - 2.3.13 2.3.13
geolocator_linux - 0.2.3 0.2.3
geolocator_platform_interface - 4.2.6 4.2.6
geolocator_web - 4.1.3 4.1.3
geolocator_windows - 0.2.5 0.2.5
google_maps - 8.2.0 8.2.0
google_maps_flutter_android - 2.18.6 2.18.6
google_maps_flutter_ios - 2.15.7 2.15.7
google_maps_flutter_web - 0.5.14+3 0.5.14+3
gsettings - 0.2.8 0.2.8
html - 0.15.6 0.15.6
http_parser - 4.1.2 4.1.2
keep_screen_on_platform_interface - 3.0.0 3.0.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
package_info_plus - 8.3.1 9.0.0
package_info_plus_platform_interface - 3.2.1 3.2.1
path - 1.9.1 1.9.1
petitparser - 7.0.1 7.0.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
uuid - 4.5.2 4.5.2
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
win32 - 5.15.0 5.15.0
xdg_directories - 1.1.0 1.1.0
xml - 6.6.1 6.6.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.5, Flutter 3.38.5, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
135
points
140
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for calculating and displaying routes with Google Maps.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_compass, flutter_polyline_points, geolocator, google_maps_flutter, google_maps_flutter_platform_interface, http, keep_screen_on

More

Packages that depend on distance_route