flutter_quick_router 0.0.3
flutter_quick_router: ^0.0.3 copied to clipboard
A Flutter package for easy route navigation with Navigator, supporting regular and restorable routes with various transitions.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_quick_router
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_quick_router: ^0.0.3
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:flutter_quick_router/Routers/quick_router_transitions.dart';
import 'package:flutter_quick_router/Routers/quick_routes.dart';
import 'package:flutter_quick_router/Routers/router_builders.dart';
import 'package:flutter_quick_router/quick_router.dart';