index property Null safety
The index of the child to show, null if nothing is to be displayed.
Implementation
int? get index => _index;
Implementation
set index(int? value) {
if (_index != value) {
_index = value;
markNeedsLayout();
}
}