blob: 1e5f5916cc103c92e1e6d3f0a59e4c9a175a907a [file] [log] [blame]
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import '../base/context.dart';
import '../base/platform.dart';
import '../doctor.dart';
import '../features.dart';
/// The web workflow instance.
WebWorkflow get webWorkflow => context.get<WebWorkflow>();
class WebWorkflow extends Workflow {
const WebWorkflow();
bool get appliesToHostPlatform => featureFlags.isWebEnabled && (platform.isWindows || platform.isMacOS || platform.isLinux);
bool get canLaunchDevices => featureFlags.isWebEnabled;
bool get canListDevices => featureFlags.isWebEnabled;
bool get canListEmulators => false;