rebuildMenu method

  1. @override
void rebuildMenu()

Implementation

@override
void rebuildMenu() {
  // if (WidgetsBinding.instance.schedulerPhase ==
  //     SchedulerPhase.postFrameCallbacks) {
  // } else {
  //   WidgetsBinding.instance.addPostFrameCallback((_) {
  //     _menuOverlay?.markNeedsBuild();
  //   });
  // }
  _menuOverlay?.markNeedsBuild();
}