RenderIndexedStack constructor

RenderIndexedStack({List<RenderBox> children, AlignmentGeometry alignment: AlignmentDirectional.topStart, TextDirection textDirection, int index: 0 })

Creates a stack render object that paints a single child.

If the index parameter is null, nothing is displayed.

Implementation

RenderIndexedStack({
  List<RenderBox> children,
  AlignmentGeometry alignment = AlignmentDirectional.topStart,
  TextDirection textDirection,
  int index = 0,
}) : _index = index, super(
  children: children,
  alignment: alignment,
  textDirection: textDirection,
);