PluginCommandConfig constructor

const PluginCommandConfig({
  1. required String id,
  2. required String label,
  3. required String command,
  4. String? description,
  5. List<String> args = const [],
  6. List<DeviceOs> platforms = const [],
  7. bool requiresRunning = false,
  8. PluginRunMode mode = PluginRunMode.detached,
  9. String? shortcut,
  10. PluginAvailabilityCheck? availability,
})

Implementation

const PluginCommandConfig({
  required this.id,
  required this.label,
  required this.command,
  this.description,
  this.args = const [],
  this.platforms = const [],
  this.requiresRunning = false,
  this.mode = PluginRunMode.detached,
  this.shortcut,
  this.availability,
});