Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(118)

Unified Diff: pkg/analyzer/lib/src/generated/workspace.dart

Issue 2666693002: detect flutter and use default analysis options for flutter (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/analyzer/lib/src/generated/workspace.dart
diff --git a/pkg/analyzer/lib/src/generated/workspace.dart b/pkg/analyzer/lib/src/generated/workspace.dart
index eeff673a644c39c92f21d835c2a40b987e2f5915..503472b4eb4b5476b1e6a655792ba76158c9d6f1 100644
--- a/pkg/analyzer/lib/src/generated/workspace.dart
+++ b/pkg/analyzer/lib/src/generated/workspace.dart
@@ -25,6 +25,12 @@ abstract class Workspace {
UriResolver get packageUriResolver;
/**
+ * Return `true` if this workspace defines a single "project"
+ * and that "project" depends upon flutter,
+ */
+ bool get hasFlutterDependency => false;
+
+ /**
* Create the [SourceFactory] for resolving Uris to [Source]s.
* The [sdk] may be `null`.
*/

Powered by Google App Engine
This is Rietveld 408576698