selectedIndex property

int selectedIndex

Return the current selected index

Implementation

int get selectedIndex =>
    availableEntries.indexWhere((e) => e.key == selected);