clearMenus method Null safety
Clears any existing platform-rendered menus and leaves the application with no menus.
It is not necessary to call this before updating the menu with setMenus.
Implementation
void clearMenus();
Clears any existing platform-rendered menus and leaves the application with no menus.
It is not necessary to call this before updating the menu with setMenus.
void clearMenus();