int index

The index of the child to show, null if nothing is to be displayed.

Source

int get index => _index;
void index=(int value)

Source

set index (int value) {
  if (_index != value) {
    _index = value;
    markNeedsLayout();
  }
}