pathrouter 0.1.2
pathrouter: ^0.1.2 copied to clipboard
A middleware component for use with the shelf plugin, provides a means of adding a specific set of routes to be handled by a path prefix
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add pathrouterThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
pathrouter: ^0.1.2Alternatively, 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:pathrouter/pathrouter.dart';