ListWidget._selectedItemIndex

item with Selected state, -1 if no such item

class ListWidget
protected
int _selectedItemIndex;

Meta