Read page as text

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 view

Search 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

ControlTypeOptions or rangeHelp
Search placeholdertext
Disable Create drafttoggle
Substring matching (off: prefix only)toggle
Show recent commandstoggle
Animate opening and closingtoggle