CommandPaletteComponent<T> constructor
const
CommandPaletteComponent<T> ({
- required EditorCommandPalette<
T> palette, - String title = 'Command Palette',
- int viewportSize = 7,
- int width = 72,
Implementation
const CommandPaletteComponent({
required this.palette,
this.title = 'Command Palette',
this.footer = const ['↑/↓ select enter run esc close'],
this.viewportSize = 7,
this.width = 72,
}) : assert(viewportSize > 0),
assert(width > 0);