RenderIndexedStack constructor

RenderIndexedStack({
  1. List<RenderBox>? children,
  2. AlignmentGeometry alignment = AlignmentDirectional.topStart,
  3. TextDirection? textDirection,
  4. StackFit fit = StackFit.loose,
  5. Clip clipBehavior = Clip.hardEdge,
  6. int? index = 0,
})

Creates a stack render object that paints a single child.

If the index parameter is null, nothing is displayed.

Implementation

RenderIndexedStack({
  super.children,
  super.alignment,
  super.textDirection,
  super.fit,
  super.clipBehavior,
  int? index = 0,
}) : _index = index;