hide method
Used to hide DropDownView. status: The status of header after the user selects the item
Implementation
void hide({int? index, DropDownHeaderStatus? status}) {
if (status != null) {
headerStatus[index ?? headerIndex] = status;
}
isExpand = false;
notifyListeners();
}