abstract_router 1.0.2 abstract_router: ^1.0.2 copied to clipboard
An abstract routing implementation that provides a low-level implementation of a fast, efficient, and practical routing system for any scenario that uses routing.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add abstract_router
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
abstract_router: ^1.0.2
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:abstract_router/abstract-router.dart';
import 'package:abstract_router/route-tree/exception.dart';
import 'package:abstract_router/route-tree/route-node.dart';
import 'package:abstract_router/route-tree/route-tree.dart';
import 'package:abstract_router/route-tree/types.dart';
import 'package:abstract_router/utils/stack.dart';