KeyBinding constructor

KeyBinding({
  1. required String id,
  2. required String actionId,
  3. String? displayName,
  4. String? description,
  5. String? key,
  6. List<String> modifiers = const [],
  7. String? category,
  8. String? scope,
  9. int? displayOrder,
  10. bool? isCustom,
  11. Map<String, Object> metadata = const {},
})

Returns a new KeyBinding instance.

Implementation

KeyBinding({
  required this.id,
  required this.actionId,
  this.displayName,
  this.description,
  this.key,
  this.modifiers = const [],
  this.category,
  this.scope,
  this.displayOrder,
  this.isCustom,
  this.metadata = const {},
});