openCommandPaletteDetailed function
void
openCommandPaletteDetailed({
- required List<
CommandItemConfig> items, - String placeholder = 'Type a command or search...',
- VoidCallback? onClose,
Opens the global command palette with full item configuration.
Implementation
void openCommandPaletteDetailed({
required List<CommandItemConfig> items,
String placeholder = 'Type a command or search...',
VoidCallback? onClose,
}) {
activeCommandPalette.value = CommandPaletteConfig(
items: items,
placeholder: placeholder,
onClose: onClose,
);
}