widgets/dialogs/command_palette library
Classes
- CommandItem
- An individual action or search item in a CommandPalette.
- CommandPalette
- A Spotlight-style command palette dialog.
Functions
-
showCommandPalette<
T> (BuildContext context, {required List< CommandItem> items, String placeholder = 'Type a command or search…', bool barrierDismissible = true}) → Future<T?> - Shows a modern command palette (Spotlight / Ctrl+K search dialog).