From 91568cc9b746046e86436e0ab96bb7df837c5c3f Mon Sep 17 00:00:00 2001 From: Michael Thomsen Date: Tue, 6 Dec 2022 23:41:53 +0100 Subject: [PATCH] Adjust upper Dart SDK constraint (#116586) --- packages/flutter_tools/lib/src/commands/create.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/flutter_tools/lib/src/commands/create.dart b/packages/flutter_tools/lib/src/commands/create.dart index fc72baea884a..7424624e5179 100644 --- a/packages/flutter_tools/lib/src/commands/create.dart +++ b/packages/flutter_tools/lib/src/commands/create.dart @@ -323,8 +323,7 @@ class CreateCommand extends CreateBase { linux: includeLinux, macos: includeMacos, windows: includeWindows, - // Enable null safety everywhere. - dartSdkVersionBounds: "'>=$dartSdk <3.0.0'", + dartSdkVersionBounds: "'>=$dartSdk <4.0.0'", implementationTests: boolArgDeprecated('implementation-tests'), agpVersion: gradle.templateAndroidGradlePluginVersion, kotlinVersion: gradle.templateKotlinGradlePluginVersion,