path_stack 0.2.0+1 path_stack: ^0.2.0+1 copied to clipboard
A Stack that shows a single child route from a map of child routes. Similar to IndexedStack, but it uses Strings as keys and has a number of extra features like child nesting and path arguments.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add path_stack
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
path_stack: ^0.2.0+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:path_stack/path_stack.dart';