clearSelection method

void clearSelection()

Implementation

void clearSelection() {
  setState(() {
    widget.selectedValue = null;
  });
  _controller.text = '';
  widget.selectedValue = [];
}