show static method

void show(
  1. BuildContext context
)

Shows the command palette as a dialog.

Implementation

static void show(BuildContext context) {
  showDialog(
    context: context,
    barrierColor: Colors.black.withAlpha(120),
    builder: (_) => const WebCommandPalette(),
  );
}