selectedIndex property
int
selectedIndex
Gets or sets the selected index in the list.
Implementation
int get selectedIndex =>
_helper.selectedIndexes.isEmpty ? -1 : _helper.selectedIndexes[0];
Implementation
set selectedIndex(int value) {
_helper.selectedIndexes = <int>[value];
}