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