setSelected method

void setSelected(
  1. String selected
)

Implementation

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