hideMenu method

void hideMenu()

Implementation

void hideMenu() async {
  widget.callback?.call(false);
  if (!mounted) return;
  if (widget.isEnableAnimation) await _animationController.reverse();

  _floatingDropdown?.remove();
  _isDropdownOpened.value = false;
}