selectedItemIndex property
used for simple bottom picker
by default it's 0, needs to be in the range 0, this.items.length-1
otherwise an exception will be thrown
for date and time picker type this parameter is not available
Implementation
late int selectedItemIndex;