setMenu method

  1. @override
void setMenu()
override

Like setState() but for the popup menu

Implementation

@override
void setMenu() {
  if (_popupWidgetState?.mounted ?? false) {
    // ignore: INVALID_USE_OF_PROTECTED_MEMBER
    _popupWidgetState?.setState(() {});
  }
}