ArcaneCommand constructor

const ArcaneCommand({
  1. required List<CommandGroup> groups,
  2. bool isOpen = false,
  3. void onClose()?,
  4. String placeholder = 'Type a command or search...',
  5. String emptyMessage = 'No results found.',
  6. void onSearch(
    1. String
    )?,
  7. bool filterFn(
    1. CommandItem,
    2. String
    )?,
  8. Key? key,
})

Implementation

const ArcaneCommand({
  required this.groups,
  this.isOpen = false,
  this.onClose,
  this.placeholder = 'Type a command or search...',
  this.emptyMessage = 'No results found.',
  this.onSearch,
  this.filterFn,
  super.key,
});