Enable private field promotion for dev (#134480)

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.
This commit is contained in:
Michael Goderbauer
2023-09-12 11:29:00 -07:00
committed by GitHub
parent 4e7a07af88
commit b966b2beee
50 changed files with 52 additions and 54 deletions

View File

@@ -236,7 +236,6 @@ class MotionEventsBodyState extends State<MotionEventsBody> {
flutterViewEvents.removeLast();
}
setState(() {});
break;
}
return Future<dynamic>.value();
}
@@ -250,7 +249,6 @@ class MotionEventsBodyState extends State<MotionEventsBody> {
embeddedViewEvents.removeLast();
}
setState(() {});
break;
}
return Future<dynamic>.value();
}

View File

@@ -4,7 +4,7 @@ publish_to: none
description: An integration test for embedded platform views
version: 1.0.0+1
environment:
sdk: '>=2.19.0-0 <4.0.0'
sdk: '>=3.2.0-0 <4.0.0'
dependencies:
flutter: