toggle method
Implementation
void toggle(int index, {double? offsetY, TxDropDownMenuHeaderStatus? status}) {
if (isExpand && headerIndex == index) {
hide(index: index, status: status);
} else {
show(index, offsetY: offsetY);
}
}
void toggle(int index, {double? offsetY, TxDropDownMenuHeaderStatus? status}) {
if (isExpand && headerIndex == index) {
hide(index: index, status: status);
} else {
show(index, offsetY: offsetY);
}
}