selectedIndex property
int
get
selectedIndex
The index of the selected element in the radio group.
Implementation
int get selectedIndex {
if (_value == null) {
return -1;
} else {
return widget.values.indexOf(_value as T);
}
}