setSelected method
Implementation
void setSelected(String selected) {
setState(() {
_controller.text = selected;
selectedValue = selected;
});
}
void setSelected(String selected) {
setState(() {
_controller.text = selected;
selectedValue = selected;
});
}