disposable_lazy_indexed_stack 1.0.0 copy "disposable_lazy_indexed_stack: ^1.0.0" to clipboard
disposable_lazy_indexed_stack: ^1.0.0 copied to clipboard

DisposableLazyIndexedStack is a Flutter widget that shows only the active child, lazily builds it, and disposes previous children. Perfect for memory-efficient tabs and navigation flows.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add disposable_lazy_indexed_stack

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  disposable_lazy_indexed_stack: ^1.0.0

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:disposable_lazy_indexed_stack/disposable_lazy_indexed_stack.dart';
1
likes
135
points
25
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

DisposableLazyIndexedStack is a Flutter widget that shows only the active child, lazily builds it, and disposes previous children. Perfect for memory-efficient tabs and navigation flows.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on disposable_lazy_indexed_stack