keyed_indexed_stack 0.0.1
keyed_indexed_stack: ^0.0.1 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 Dart:
$ dart pub add keyed_indexed_stackWith Flutter:
$ flutter pub add keyed_indexed_stackThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
keyed_indexed_stack: ^0.0.1Alternatively, your editor might support dart pub get or 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';