NIB / PLAYGROUND
Command palette playground — NibComponents
Try command palette in Flutter. Search actions, drill into a group, and keep a bounded recent history.
Open interactive viewSearch actions, drill into a group, and keep a bounded recent history.
Read the full component guide and API
Public widgets and APIs
- NibCommandAction
- NibCommandActionFilter
- NibCommandPalette
- NibCommandPaletteController
Example Dart code
NibCommandPalette(
actions: [
NibCommandAction(
id: 'new-draft', label: 'Create draft', group: 'Notes',
onSelected: () { /* Create one local draft. */ },
),
],
child: const Text('Use the configured palette shortcut.'),
)Playground controls
| Control | Type | Options or range | Help |
|---|---|---|---|
| Search placeholder | text | ||
| Disable Create draft | toggle | ||
| Substring matching (off: prefix only) | toggle | ||
| Show recent commands | toggle | ||
| Animate opening and closing | toggle |