CommandPaletteItem constructor

const CommandPaletteItem({
  1. required String label,
  2. String? id,
  3. Object? payload,
  4. String? description,
  5. String? shortcut,
  6. String? group,
  7. List<String> tags = const [],
  8. CommandPaletteCallback? onSelect,
  9. bool enabled = true,
})

Implementation

const CommandPaletteItem({
  required this.label,
  this.id,
  this.payload,
  this.description,
  this.shortcut,
  this.group,
  this.tags = const [],
  this.onSelect,
  this.enabled = true,
});