closeView method
- String? selectedText
Close the search view that this search controller is associated with.
If selectedText is given, then the text value of the controller is set to
selectedText.
Implementation
void closeView(String? selectedText) {
assert(isAttached);
_anchor!._closeView(selectedText);
}