Unverified Commit 983ecf06 authored by Michael Goderbauer's avatar Michael Goderbauer Committed by GitHub

Enable private field promotion for other packages (#134475)

New feature in upcoming Dart 3.2. See https://github.com/dart-lang/language/issues/2020. Feature is enabled by bumping the min SDK version to 3.2.

Part of https://github.com/flutter/flutter/issues/134476.
parent 93103b42
...@@ -3,7 +3,7 @@ description: Integration and performance test API for Flutter applications ...@@ -3,7 +3,7 @@ description: Integration and performance test API for Flutter applications
homepage: https://flutter.dev homepage: https://flutter.dev
environment: environment:
sdk: '>=3.0.0-0 <4.0.0' sdk: '>=3.2.0-0 <4.0.0'
dependencies: dependencies:
file: 6.1.4 file: 6.1.4
......
name: flutter_goldens name: flutter_goldens
environment: environment:
sdk: '>=3.0.0-0 <4.0.0' sdk: '>=3.2.0-0 <4.0.0'
dependencies: dependencies:
# To update these, use "flutter update-packages --force-upgrade". # To update these, use "flutter update-packages --force-upgrade".
......
name: flutter_goldens_client name: flutter_goldens_client
environment: environment:
sdk: '>=3.0.0-0 <4.0.0' sdk: '>=3.2.0-0 <4.0.0'
dependencies: dependencies:
# To update these, use "flutter update-packages --force-upgrade". # To update these, use "flutter update-packages --force-upgrade".
......
name: flutter_localizations name: flutter_localizations
environment: environment:
sdk: '>=3.0.0-0 <4.0.0' sdk: '>=3.2.0-0 <4.0.0'
dependencies: dependencies:
# To update these, use "flutter update-packages --force-upgrade". # To update these, use "flutter update-packages --force-upgrade".
......
name: flutter_test name: flutter_test
environment: environment:
sdk: '>=3.0.0-0 <4.0.0' sdk: '>=3.2.0-0 <4.0.0'
dependencies: dependencies:
# To update these, use "flutter update-packages --force-upgrade". # To update these, use "flutter update-packages --force-upgrade".
......
...@@ -4,6 +4,6 @@ ...@@ -4,6 +4,6 @@
name: dummy name: dummy
environment: environment:
sdk: '>=3.0.0-0 <4.0.0' sdk: '>=3.2.0-0 <4.0.0'
# PUBSPEC CHECKSUM: 0000 # PUBSPEC CHECKSUM: 0000
...@@ -3,7 +3,7 @@ description: Library to register Flutter Web plugins ...@@ -3,7 +3,7 @@ description: Library to register Flutter Web plugins
homepage: https://flutter.dev homepage: https://flutter.dev
environment: environment:
sdk: '>=3.0.0-0 <4.0.0' sdk: '>=3.2.0-0 <4.0.0'
dependencies: dependencies:
flutter: flutter:
......
...@@ -4,7 +4,7 @@ description: Provides an API to test/debug Flutter applications on remote Fuchsi ...@@ -4,7 +4,7 @@ description: Provides an API to test/debug Flutter applications on remote Fuchsi
homepage: https://flutter.dev homepage: https://flutter.dev
environment: environment:
sdk: '>=3.0.0-0 <4.0.0' sdk: '>=3.2.0-0 <4.0.0'
dependencies: dependencies:
process: 4.2.4 process: 4.2.4
......
...@@ -3,7 +3,7 @@ description: Demonstrates how to use the integration_test plugin. ...@@ -3,7 +3,7 @@ description: Demonstrates how to use the integration_test plugin.
publish_to: 'none' publish_to: 'none'
environment: environment:
sdk: '>=3.0.0-0 <4.0.0' sdk: '>=3.2.0-0 <4.0.0'
flutter: ">=1.6.7" flutter: ">=1.6.7"
dependencies: dependencies:
......
...@@ -10,7 +10,7 @@ flutter: ...@@ -10,7 +10,7 @@ flutter:
pluginClass: IntegrationTestPlugin pluginClass: IntegrationTestPlugin
environment: environment:
sdk: '>=3.0.0-0 <4.0.0' sdk: '>=3.2.0-0 <4.0.0'
dependencies: dependencies:
flutter: flutter:
......
...@@ -107,11 +107,11 @@ class Response { ...@@ -107,11 +107,11 @@ class Response {
/// Create a list of Strings from [_failureDetails]. /// Create a list of Strings from [_failureDetails].
List<String> _failureDetailsAsString() { List<String> _failureDetailsAsString() {
final List<String> list = <String>[]; final List<String> list = <String>[];
if (_failureDetails == null || _failureDetails!.isEmpty) { if (_failureDetails == null || _failureDetails.isEmpty) {
return list; return list;
} }
for (final Failure failure in _failureDetails!) { for (final Failure failure in _failureDetails) {
list.add(failure.toJson()); list.add(failure.toJson());
} }
......
...@@ -3,7 +3,7 @@ description: Runs tests that use the flutter_test API as integration tests. ...@@ -3,7 +3,7 @@ description: Runs tests that use the flutter_test API as integration tests.
publish_to: none publish_to: none
environment: environment:
sdk: '>=3.0.0-0 <4.0.0' sdk: '>=3.2.0-0 <4.0.0'
dependencies: dependencies:
flutter: flutter:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment