hestia_navigation 0.3.0

Hestia Navigation libraries for Dart on the server and flutter

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  hestia_navigation: ^0.3.0

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter pub get

Alternatively, your editor might support pub get or flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:hestia_navigation/hestia_navigation.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Feb 13, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.1
  • pana: 0.13.5

Health issues and suggestions

Fix lib/src/client_stub.dart. (-43.75 points)

Analysis of lib/src/client_stub.dart failed with 2 errors:

line 1 col 8: The name 'NavigationResponse' isn't a type so it can't be used as a type argument.

line 2 col 15: Undefined class 'NavigationRequest'.

Fix lib/src/navigation.pbjson.dart. (-25 points)

Analysis of lib/src/navigation.pbjson.dart reported 141 hints, including:

line 8 col 27: Avoid const keyword.

line 10 col 8: Avoid const keyword.

line 11 col 5: Avoid const keyword.

line 15 col 18: Avoid const keyword.

line 17 col 8: Avoid const keyword.

Fix lib/src/io_client.dart. (-1 points)

Analysis of lib/src/io_client.dart reported 2 hints:

line 13 col 20: Avoid const keyword.

line 17 col 3: Future results in async function bodies must be awaited or marked unawaited using package:pedantic.

Fix additional 4 files with analysis or formatting issues. (-1 points)

Additional issues in the following files:

  • lib/src/hestia_server.dart (1 hint)
  • lib/src/web_client.dart (1 hint)
  • lib/src/navigation.pb.dart (Run dartfmt to format lib/src/navigation.pb.dart.)
  • lib/src/navigation.pbenum.dart (Run dartfmt to format lib/src/navigation.pbenum.dart.)

Maintenance issues and suggestions

Provide a file named CHANGELOG.md. (-20 points)

Changelog entries help developers follow the progress of your package. See the example generated by stagehand.

Support latest dependencies. (-10 points)

The version constraint in pubspec.yaml does not support the latest published versions for 1 dependency (protobuf).

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and hestia_navigation.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.2.0 <3.0.0
async ^2.3.0 2.4.0
grpc ^2.1.2 2.1.3
hestia_core ^0.2.0 0.2.0
protobuf ^0.14.1 0.14.4 1.0.1
Transitive dependencies
charcode 1.1.3
collection 1.14.12
convert 2.1.1
crypto 2.1.4
fixnum 0.10.11
googleapis_auth 0.2.11+1
http 0.12.0+4
http2 1.0.0
http_parser 3.1.3
meta 1.1.8
path 1.6.4
pedantic 1.9.0
source_span 1.6.0
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.1.6
Dev dependencies
test ^1.6.9