FixedIndexedStack constructor

FixedIndexedStack({
  1. Key? key,
  2. int index = 0,
  3. AlignmentGeometry alignment = AlignmentDirectional.topStart,
  4. TextDirection? textDirection,
  5. StackFit sizing = StackFit.loose,
  6. List<Widget> children = const <Widget>[],
})

Implementation

FixedIndexedStack({
  Key? key,
  this.index = 0,
  this.alignment = AlignmentDirectional.topStart,
  this.textDirection,
  this.sizing = StackFit.loose,
  this.children = const <Widget>[],
})  : assert(children.every((child) => child.key != null)),
      super(key: key);