StudioCommandPalette constructor

const StudioCommandPalette({
  1. Key? key,
  2. required List<StudioCommand> commands,
  3. ValueChanged<StudioCommand>? onSelected,
  4. String hint = 'Type a command or search',
  5. String emptyText = 'No commands match',
  6. bool autofocus = false,
  7. 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,
});