[flutter_tools] initial support for enable experiment, run, apk, ios, macos (#54617)

This commit is contained in:
Jonah Williams
2020-04-21 20:39:36 -07:00
committed by GitHub
parent e9868501fc
commit 0b3f5cfcc0
91 changed files with 1610 additions and 63 deletions

View File

@@ -0,0 +1,5 @@
# Exclude lib/main.dart to avoid warnings about the non_nullable
# experiment before it is enabled.
analyzer:
exclude:
- lib/null_safe_main.dart

View File

@@ -0,0 +1,11 @@
// 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.
// @dart=2.9
String? x;
void main() {
print('--- TEST SUCCEEDED ---');
}

View File

@@ -3,7 +3,7 @@ description: Integration test for web compilation.
environment:
# The pub client defaults to an <2.0.0 sdk constraint which we need to explicitly overwrite.
sdk: ">=2.0.0-dev.68.0 <3.0.0"
sdk: ">=2.6.0 <3.0.0"
dependencies:
flutter: