IndexedStack constructor

const IndexedStack(
  1. {Key? key,
  2. AlignmentGeometry alignment = AlignmentDirectional.topStart,
  3. TextDirection? textDirection,
  4. Clip clipBehavior = Clip.hardEdge,
  5. StackFit sizing = StackFit.loose,
  6. int? index = 0,
  7. 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>[],
});