IndexedStack constructor
- Key? key,
- AlignmentGeometry alignment = AlignmentDirectional.topStart,
- TextDirection? textDirection,
- Clip clipBehavior = Clip.hardEdge,
- StackFit sizing = StackFit.loose,
- int? index = 0,
- List<
Widget> children = const <Widget>[],
Creates a Stack widget that paints a single child.
Implementation
const IndexedStack({
super.key,
this.alignment = AlignmentDirectional.topStart,
this.textDirection,
this.clipBehavior = Clip.hardEdge,
this.sizing = StackFit.loose,
this.index = 0,
this.children = const <Widget>[],
});