showMenu function

Future<void> showMenu(
  1. void declare()
)

Show a new menu.

wait for completion.

Implementation

Future<void> showMenu(void Function() declare) async {
  var controller = DevMenuController(declare);
  await menuManager.showMenu(controller.menu);
}