keyed_indexed_stack 0.2.0
keyed_indexed_stack: ^0.2.0 copied to clipboard
A lazy-loading replacement for IndexedStack with generic keys, keep-alive, preheat, and lifecycle callbacks.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add keyed_indexed_stackThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
keyed_indexed_stack: ^0.2.0Alternatively, 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:keyed_indexed_stack/keyed_indexed_stack.dart';