path_stack 0.2.0+1 copy "path_stack: ^0.2.0+1" to clipboard
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';
6
likes
110
pub points
0%
popularity

Publisher

unverified uploader

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.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, path_to_regexp

More

Packages that depend on path_stack