forked from firka/flutter
[flutter_tools] initial support for enable experiment, run, apk, ios, macos (#54617)
This commit is contained in:
5
dev/integration_tests/web/analysis_options.yaml
Normal file
5
dev/integration_tests/web/analysis_options.yaml
Normal 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
|
||||
11
dev/integration_tests/web/lib/null_safe_main.dart
Normal file
11
dev/integration_tests/web/lib/null_safe_main.dart
Normal 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 ---');
|
||||
}
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user