RenderIndexedStack constructor
- List<
RenderBox> ? children, - AlignmentGeometry alignment = AlignmentDirectional.topStart,
- TextDirection? textDirection,
- StackFit fit = StackFit.loose,
- Clip clipBehavior = Clip.hardEdge,
- 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;