dx_router 1.1.0
dx_router: ^1.1.0 copied to clipboard
DX Router is a Flutter package that simplifies named routes and deeplinking with automated URL encoding. It also supports browser reloads for Flutter web, reducing manual coding and streamlining the d [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add dx_router
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
dx_router: ^1.1.0
Alternatively, 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:dx_router/dx_router.dart';