IndexedStack constructor Null safety
- {Key? key,
- AlignmentGeometry alignment = AlignmentDirectional.topStart,
- TextDirection? textDirection,
- StackFit sizing = StackFit.loose,
- int? index = 0,
- List<
Widget> children = const <Widget>[]}
Creates a Stack widget that paints a single child.
The index argument must not be null.
Implementation
IndexedStack({
super.key,
super.alignment,
super.textDirection,
StackFit sizing = StackFit.loose,
this.index = 0,
super.children,
}) : super(fit: sizing);