dynamic_routes 1.1.1 dynamic_routes: ^1.1.1 copied to clipboard
A super easy-to-use routing library for Flutter that allows you to determine routes and the order of those routes all in one place.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add dynamic_routes
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
dynamic_routes: ^1.1.1
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:dynamic_routes/dynamic_routes/base_navigators.dart';
import 'package:dynamic_routes/dynamic_routes/double_call_guard.dart';
import 'package:dynamic_routes/dynamic_routes/mixins/initiator.dart';
import 'package:dynamic_routes/dynamic_routes/mixins/participator.dart';
import 'package:dynamic_routes/dynamic_routes/navigation_logic_provider.dart';
import 'package:dynamic_routes/dynamic_routes/page_dll_data.dart';
import 'package:dynamic_routes/dynamic_routes/scoped_dynamic_routes_manager.dart';
import 'package:dynamic_routes/dynamic_routes_navigator.dart';