route_pattern 0.7.0
route_pattern: ^0.7.0 copied to clipboard

A Dart static code generator that produces matchers and builders from route uri patterns.

0
likes
105 / 130
pub points
37 %
popularity

We analyzed this package on Apr 13, 2021, and awarded it 105 pub points (of a possible 130):

Follow Dart file conventions
15 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

0/5 points: Provide a valid CHANGELOG.md

No `CHANGELOG.md` found.

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

Provide documentation
10 / 20

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

  • 6 out of 27 API elements (22.2 %) have documentation comments.
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 4 issues. Showing the first 2:

INFO: DO use curly braces for all flow control structures.

lib/src/route.dart:15:7

   ╷
15 │       buffer.write("/");
   │       ^^^^^^^^^^^^^^^^^^
   ╵

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

INFO: DO use curly braces for all flow control structures.

lib/src/route.dart:17:7

   ╷
17 │ ┌       segments
18 │ └           .forEach((s) => buffer..write("/")..write(Uri.encodeComponent(s)));
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/src/route.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

Support sound null safety
20 / 20

20/20 points: Package and dependencies are fully migrated to null safety!

Analysed with Pana 0.15.4, Dart 2.12.2.

0
likes
105
pub points
37%
popularity

A Dart static code generator that produces matchers and builders from route uri patterns.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

alois.deniel@gmail.com

License

MIT (LICENSE)

More

Packages that depend on route_pattern