showConsolePanel function

dynamic showConsolePanel(
  1. Function onHideTap, {
  2. BuildContext? context,
})

show console panel

Implementation

showConsolePanel(Function onHideTap, {BuildContext? context}) {
  context ??= _contextMap.values.first;
  consolePanelEntry = OverlayEntry(builder: (ctx) {
    return ConsolePanel(() {
      onHideTap();
      hideConsolePanel();
    });
  });
  Overlay.of(context).insert(consolePanelEntry!);
}