LazyLoadIndexedStack constructor
LazyLoadIndexedStack({
- Key? key,
- Widget? unloadWidget,
- AlignmentGeometry alignment = AlignmentDirectional.topStart,
- StackFit sizing = StackFit.loose,
- TextDirection? textDirection,
- required int index,
- required List<
Widget> children,
Creates LazyLoadIndexedStack that wraps IndexedStack.
Implementation
LazyLoadIndexedStack({
Key? key,
Widget? unloadWidget,
this.alignment = AlignmentDirectional.topStart,
this.sizing = StackFit.loose,
this.textDirection,
required this.index,
required this.children,
}) : super(key: key) {
this.unloadWidget = unloadWidget ?? Container();
}