From f91e45658ca4f486f243195ab82a7085f6fe9358 Mon Sep 17 00:00:00 2001 From: rumitvn <160252724+rumitvn@users.noreply.github.com> Date: Mon, 15 Jun 2026 22:11:05 +0700 Subject: [PATCH] fix(connectivity_plus): correct minimum Flutter version to match Dart SDK constraint The package requires Dart >=3.2.0, which first shipped with Flutter 3.16.0, but declared flutter: >=3.7.0 (Flutter 3.7 ships Dart 2.19). Pinning the documented minimum Flutter version therefore fails the SDK constraint. Bump the Flutter floor to 3.16.0 to match reality. --- packages/connectivity_plus/connectivity_plus/pubspec.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/connectivity_plus/connectivity_plus/pubspec.yaml b/packages/connectivity_plus/connectivity_plus/pubspec.yaml index 3981c754c4..c789d5d17c 100644 --- a/packages/connectivity_plus/connectivity_plus/pubspec.yaml +++ b/packages/connectivity_plus/connectivity_plus/pubspec.yaml @@ -10,9 +10,9 @@ topics: environment: sdk: ">=3.2.0 <4.0.0" - # Flutter versions prior to 3.7 did not support the - # sharedDarwinSource option. - flutter: ">=3.7.0" + # Dart >=3.2.0 first shipped with Flutter 3.16.0, so that is the + # lowest Flutter version that can satisfy the SDK constraint above. + flutter: ">=3.16.0" flutter: plugin: