onSearch method
Implementation
void onSearch(String value) async {
if (widget.type == UFUMultiSelectType.network && widget.onSearch != null) {
widget.onSearch!(value);
} else {
setState(() {});
}
}
void onSearch(String value) async {
if (widget.type == UFUMultiSelectType.network && widget.onSearch != null) {
widget.onSearch!(value);
} else {
setState(() {});
}
}