LazyIndexedStack constructor

LazyIndexedStack({
  1. Key? key,
  2. AlignmentGeometry alignment = AlignmentDirectional.topStart,
  3. TextDirection? textDirection,
  4. StackFit sizing = StackFit.loose,
  5. int? index,
  6. bool reuse = true,
  7. required IndexedWidgetBuilder itemBuilder,
  8. int itemCount = 0,
  9. int? preLoadIndex,
  10. int notReuseIndex = -1,
})

Implementation

LazyIndexedStack(
    {Key? key,
    this.alignment = AlignmentDirectional.topStart,
    this.textDirection,
    this.sizing = StackFit.loose,
    this.index,
    this.reuse = true,
    required this.itemBuilder,
    this.itemCount = 0,
    this.preLoadIndex,
    this.notReuseIndex = -1})
    : super(key: key);