IndexedSemanticsModifier constructor

const IndexedSemanticsModifier({
  1. Key? key,
  2. Key? modifierKey,
  3. required int index,
  4. Widget? child,
})

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

index must not be null.

Implementation

const IndexedSemanticsModifier({
  super.key,
  super.modifierKey,
  required this.index,
  super.child,
});