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

@@ -250,7 +250,7 @@ class Configurator {
'homepage: https://flutter.dev',
'version: 0.0.0',
'environment:',
" sdk: '>=3.0.0-0 <4.0.0'",
" sdk: '>=3.2.0-0 <4.0.0'",
'dependencies:',
for (final String package in findPackageNames(filesystem)) ' $package:\n sdk: flutter',
' $kPlatformIntegrationPackageName: 0.0.1',