pheasant_router 0.0.1-pr
pheasant_router: ^0.0.1-pr copied to clipboard
The Pheasant Framework Routing Package, for single-page and server-side routing of your pheasant applications.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add pheasant_router
With Flutter:
$ flutter pub add pheasant_router
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
pheasant_router: ^0.0.1-pr
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:pheasant_router/pheasant_router.dart';