Pular para o conteúdo

KoderCommandPalette

Documentado Navegação (no spec yet — koder_kit#029 tracks)

Command palette Ctrl+K com fuzzy match em ações in-app. Proposto em koder_kit#029.

Demo

Mock visual estático — fiel ao pixel mas não interativo. Sub-fatia 2.3 troca demos selecionadas por embed Flutter Web ao vivo.

  • File · New fileCtrl+N
  • Settings · Theme
  • View · Zoom inCtrl++

Modal disparado por Ctrl+K. Casa fuzzy contra label + categoria; setas movem, Enter invoca.

Disponibilidade

Flutter (koder_kit)
koder_kit v0.25.0+

Uso em Flutter

import 'package:koder_kit/koder_kit.dart';
// Bind to Ctrl+K / ⌘K at the app root.
KoderCommandPalette.show(
  context,
  commands: <KoderCommand>[
    KoderCommand(id: 'file.new', label: 'New file', onInvoke: (ctx) => ...),
    // …
  ],
)

Relacionados no mesmo grupo