route2 0.1.1 copy "route2: ^0.1.1" to clipboard
route2: ^0.1.1 copied to clipboard

A client + server routing library for Dart 2.x

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add route2

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

dependencies:
  route2: ^0.1.1

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:route2/client.dart';
import 'package:route2/pattern.dart';
import 'package:route2/server.dart';
import 'package:route2/url_pattern.dart';
0
likes
15
pub points
2%
popularity

Publisher

unverified uploader

A client + server routing library for Dart 2.x

Repository (GitHub)
View/report issues

License

BSD-3-Clause (LICENSE)

Dependencies

logging

More

Packages that depend on route2