updateSelected method
Implementation
void updateSelected(String newValue ){
setState(() {
dropdownValue = newValue;
selected_position = int.parse(dropdownValue);
startCallback( newValue );
});
}
void updateSelected(String newValue ){
setState(() {
dropdownValue = newValue;
selected_position = int.parse(dropdownValue);
startCallback( newValue );
});
}