graphhooper_route_navigation 0.0.8 copy "graphhooper_route_navigation: ^0.0.8" to clipboard
graphhooper_route_navigation: ^0.0.8 copied to clipboard

A new plugin for GraphHooper route navigation. Use Mapbox Map as a base layer & map styles and Graphhooper Map route navigation data for polyline, duration and time.

12
likes
150/ 160
pub points
154
downloads

We analyzed this package 2 days ago, and awarded it 150 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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: BSD-3-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

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

496 out of 952 API elements (52.1 %) have documentation comments.

Some symbols that are missing documentation: graphhooper_route_navigation, graphhooper_route_navigation.Annotation, graphhooper_route_navigation.Annotation.Annotation, graphhooper_route_navigation.Annotation.id, graphhooper_route_navigation.Annotation.toGeoJson.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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:graphhooper_route_navigation/graphhooper_route_navigation.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

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

Because:

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

Because:

  • package:graphhooper_route_navigation/graphhooper_route_navigation.dart that declares support for platforms: Android, iOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:graphhooper_route_navigation/graphhooper_route_navigation.dart that imports:
  • package:graphhooper_route_navigation/src/map/requests/api_requests.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on iOS

It does not contain ios/graphhooper_route_navigation/Package.swift.

This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.

See https://docs.flutter.dev/to/spm for details.

partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

Found 17 issues. Showing the first 2:

INFO: 'onPopInvoked' is deprecated and shouldn't be used. Use onPopInvokedWithResult instead. This feature was deprecated after v3.22.0-12.0.pre.

lib/src/map/navigation/screens/map_route_navigation_screen.dart:70:7

   ╷
70 │       onPopInvoked: (bool didPop) {
   │       ^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/map/navigation/screens/map_route_navigation_screen.dart

INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.

lib/src/map/navigation/screens/map_route_navigation_screen.dart:141:36

    ╷
141 │                 color: Colors.grey.withOpacity(0.4),
    │                                    ^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/map/navigation/screens/map_route_navigation_screen.dart

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

10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
expandable_bottom_sheet ^1.1.1+1 1.1.1+1 1.1.1+1
flutter flutter 0.0.0 0.0.0
flutter_plugin_android_lifecycle ^2.0.22 2.0.24 2.0.24
flutter_web_plugins flutter 0.0.0 0.0.0
http ^1.2.2 1.2.2 1.2.2
maplibre_gl ^0.20.0 0.20.0 0.20.0
plugin_platform_interface ^2.1.8 2.1.8 2.1.8
text_to_speech ^0.2.3 0.2.3 0.2.3
vector_math ^2.1.4 2.1.4 2.1.4
Transitive dependencies
Package Constraint Compatible Latest
archive - 4.0.2 4.0.2
async - 2.12.0 2.12.0
characters - 1.3.0 1.4.0
collection - 1.19.0 1.19.1
crypto - 3.0.6 3.0.6
ffi - 2.1.3 2.1.3
http_parser - 4.1.1 4.1.1
image - 4.5.2 4.5.2
js - 0.7.1 0.7.1
maplibre_gl_platform_interface - 0.20.0 0.20.0
maplibre_gl_web - 0.20.0 0.20.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
petitparser - 6.0.2 6.0.2
posix - 6.0.1 6.0.1
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
text_to_speech_macos - 0.1.1 0.1.1
text_to_speech_platform_interface - 0.1.3 0.1.3
text_to_speech_web - 0.1.2 0.1.2
typed_data - 1.4.0 1.4.0
web - 1.1.0 1.1.0
xml - 6.5.0 6.5.0

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

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.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

12
likes
150
points
154
downloads

Publisher

unverified uploader

Weekly Downloads

A new plugin for GraphHooper route navigation. Use Mapbox Map as a base layer & map styles and Graphhooper Map route navigation data for polyline, duration and time.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

expandable_bottom_sheet, flutter, flutter_plugin_android_lifecycle, flutter_web_plugins, http, maplibre_gl, plugin_platform_interface, text_to_speech, vector_math

More

Packages that depend on graphhooper_route_navigation