show static method

void show(
  1. BuildContext context,
  2. List<ShortcutHelpItem> shortcuts
)

Shows the shortcuts help as a dialog.

Implementation

static void show(BuildContext context, List<ShortcutHelpItem> shortcuts) {
  showDialog(
    context: context,
    barrierColor: Colors.black.withAlpha(120),
    builder: (_) => Center(
      child: WebShortcutsHelp(shortcuts: shortcuts),
    ),
  );
}