dash_router 1.0.1
dash_router: ^1.0.1 copied to clipboard
A powerful, type-safe Flutter routing library with zero mental overhead. Features code generation, guards, middleware, and seamless navigation.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add dash_routerThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
dash_router: ^1.0.1Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:dash_router/dash_router.dart';