shelf_router_classes 1.0.3 copy "shelf_router_classes: ^1.0.3" to clipboard
shelf_router_classes: ^1.0.3 copied to clipboard

An easier way to declare and use routes for the shelf and shelf_router packages using classes and Route annotations.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add shelf_router_classes

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  shelf_router_classes: ^1.0.3

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

Import it

Now in your Dart code, you can use:

import 'package:shelf_router_classes/shelf_router_classes.dart';
0
likes
140
pub points
25%
popularity

Publisher

verified publisherdbilgin.com

An easier way to declare and use routes for the shelf and shelf_router packages using classes and Route annotations.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

shelf_router

More

Packages that depend on shelf_router_classes