dia_router 0.1.8 copy "dia_router: ^0.1.8" to clipboard
dia_router: ^0.1.8 copied to clipboard

A router for Dia. Allow add dia middlewares for handle different url addresses.

150/ 160
pub points
218
downloads

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

Passed report section
Follow Dart file conventions
30 / 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

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

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

32 out of 35 API elements (91.4 %) have documentation comments.

Some symbols that are missing documentation: dia_router.RouterMiddleware.RouterMiddleware.new, dia_router.Routing.body, dia_router.Routing.routerPrefix.

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 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:dia_router/dia_router.dart that imports:
  • package:dia_router/src/routing_mixin.dart that imports:
  • package:dia/dia.dart that imports:
  • package:dia/src/context.dart that imports:
  • dart:io
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

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

INFO: Dangling library doc comment.

lib/dia_router.dart:1:1

  ╷
1 │ /// Middleware for Dia. Allows you to create separate middleware
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/dia_router.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
dia ^0.1.6 0.1.6 0.1.6
path_to_regexp ^0.4.0 0.4.0 0.4.0

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.10, Dart 3.11.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
150
points
218
downloads

Publisher

verified publisherawcoding.com

Weekly Downloads

A router for Dia. Allow add dia middlewares for handle different url addresses.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (license)

Dependencies

dia, path_to_regexp

More

Packages that depend on dia_router