SemanticIndexCallback typedef

int SemanticIndexCallback (Widget widget, int localIndex)

A callback which produces a semantic index given a widget and the local index.

Return a null value to prevent a widget from receiving an index.

A semantic index is used to tag child semantic nodes for accessibility announcements in scroll view.

See also:

Implementation

typedef SemanticIndexCallback = int Function(Widget widget, int localIndex);