StudioCommandPalette constructor
const
StudioCommandPalette({
- Key? key,
- required List<
StudioCommand> commands, - ValueChanged<
StudioCommand> ? onSelected, - String hint = 'Type a command or search',
- String emptyText = 'No commands match',
- bool autofocus = false,
- StudioStyle? style,
A palette of commands.
Implementation
const StudioCommandPalette({
super.key,
required this.commands,
this.onSelected,
this.hint = 'Type a command or search',
this.emptyText = 'No commands match',
this.autofocus = false,
this.style,
});