hexagonal_grid 1.0.5
hexagonal_grid: ^1.0.5 copied to clipboard

Dart native js
Flutter Android iOS web

A hexagonal grid library for Dart 2 that uses axial coordinates and contains algorithms to build hex layouts

3
likes
90 / 110
pub points
54 %
popularity

We analyzed this package on Jan 16, 2021, and awarded it 90 pub points (of a possible 110):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
10 / 20

10/10 points: Package has an example

  • Found example at: example/example.dart

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

  • 5 out of 45 API elements (11.1 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

Support multiple platforms
20 / 20

20/20 points: Supports 2 of 2 possible platforms (native, js)

Pass static analysis
20 / 30

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 5 issues. Showing the first 2:

INFO: Unnecessary new keyword.

lib/hexagonal_grid.dart:52:27

   ╷
52 │     List<Point> corners = new List();
   │                           ^^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/hexagonal_grid.dart

INFO: 'List' is deprecated and shouldn't be used.

lib/hexagonal_grid.dart:52:31

   ╷
52 │     List<Point> corners = new List();
   │                               ^^^^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/hexagonal_grid.dart

Support up-to-date dependencies
20 / 20

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

No dependencies.

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

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

3
likes
90
pub points
54%
popularity

A hexagonal grid library for Dart 2 that uses axial coordinates and contains algorithms to build hex layouts

Repository (GitLab)
View/report issues

Documentation

API reference

Uploader

jonathantbeckman@gmail.com

License

Apache 2.0 (LICENSE)

More

Packages that depend on hexagonal_grid