IndexedSemantics constructor

const IndexedSemantics({Key key, @required int index, Widget child })

Creates a widget that annotated the first child semantics node with an index.

index must not be null.

Implementation

const IndexedSemantics({
  Key key,
  @required this.index,
  Widget child,
}) : assert(index != null),
     super(key: key, child: child);