(logger: Logger, context: Context, workspace: DartWorkspaceContext, private readonly sdkUtils: SdkUtils, dartCapabilities: DartCapabilities, private readonly flutterCapabilities: FlutterCapabilities, private readonly deviceManager: FlutterDeviceManager | undefined, private readonly analytics: Analytics)
| 33 | private flutterScreenshotPath?: string; |
| 34 | |
| 35 | constructor(logger: Logger, context: Context, workspace: DartWorkspaceContext, private readonly sdkUtils: SdkUtils, dartCapabilities: DartCapabilities, private readonly flutterCapabilities: FlutterCapabilities, private readonly deviceManager: FlutterDeviceManager | undefined, private readonly analytics: Analytics) { |
| 36 | super(logger, context, workspace, dartCapabilities); |
| 37 | |
| 38 | this.disposables.push(vs.commands.registerCommand("flutter.clean", this.flutterClean.bind(this))); |
| 39 | this.disposables.push(vs.commands.registerCommand("flutter.clean.all", this.flutterCleanAllProjects.bind(this))); |
| 40 | this.disposables.push(vs.commands.registerCommand("_flutter.screenshot.touchBar", (args: any) => vs.commands.executeCommand("flutter.screenshot", args))); |
| 41 | this.disposables.push(vs.commands.registerCommand("flutter.screenshot", this.flutterScreenshot.bind(this))); |
| 42 | this.disposables.push(vs.commands.registerCommand("flutter.doctor", this.flutterDoctor.bind(this))); |
| 43 | this.disposables.push(vs.commands.registerCommand("flutter.doctor.sidebar", () => this.flutterDoctor({ commandSource: CommandSource.sidebarTitle }))); |
| 44 | this.disposables.push(vs.commands.registerCommand("flutter.upgrade", this.flutterUpgrade.bind(this))); |
| 45 | this.disposables.push(vs.commands.registerCommand("flutter.createProject", this.createFlutterProject.bind(this))); |
| 46 | this.disposables.push(vs.commands.registerCommand("flutter.createProject.sidebar", () => this.createFlutterProject({ commandSource: CommandSource.sidebarTitle }))); |
| 47 | this.disposables.push(vs.commands.registerCommand("_dart.flutter.createSampleProject", this.createFlutterSampleProject.bind(this))); |
| 48 | this.disposables.push(vs.commands.registerCommand("_flutter.create", this.flutterCreate.bind(this))); |
| 49 | this.disposables.push(vs.commands.registerCommand("_flutter.clean", this.flutterClean.bind(this))); |
| 50 | } |
| 51 | |
| 52 | private async flutterClean( |
| 53 | uri: vs.Uri | vs.Uri[] | undefined, |
nothing calls this directly
no test coverage detected