clearSelection method

void clearSelection()

Implementation

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