back_stack 0.6.1
back_stack: ^0.6.1 copied to clipboard
You own the back stack. Navigation is a list you push and pop — type-safe, observable, no route graph.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add back_stackThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
back_stack: ^0.6.1Alternatively, 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:back_stack/back_stack.dart';