commands property

  1. @override
List<DesignerCommand> get commands
override

Commands this module adds, or replaces by reusing a built-in's id.

Implementation

@override
List<DesignerCommand> get commands => [
  DesignerCommand(
    id: 'store.open',
    label: 'Open the Asset Store',
    scope: CommandScope.always,
    run: (context) => context.scope.openWorkspace(workspaceId),
  ),
];