lazy_load_indexed_stack 0.1.0 copy "lazy_load_indexed_stack: ^0.1.0" to clipboard
lazy_load_indexed_stack: ^0.1.0 copied to clipboard

outdated

A package that extends IndexedStack to allow for lazy loading.

lazy_load_indexed_stack #

A package that extends IndexedStack to allow for lazy loading.

Motivation #

If you use the IndexedStack with bottom navigation, all the widgets specified in the children of the IndexedStack will be built.

If the widget requires API requests or database access, or has a complex UI, the IndexedStack build time will be significant.

Therefore, I created an extended IndexedStack that builds the required widget only when it is needed, and returns the pre-built widget when it is needed again.

79
likes
0
pub points
95%
popularity

Publisher

verified publisherokaryo.io

A package that extends IndexedStack to allow for lazy loading.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on lazy_load_indexed_stack