From 778615231c376c829d6241e7988f15a77bcaeb55 Mon Sep 17 00:00:00 2001 From: StanleyCocos Date: Tue, 26 Nov 2024 16:48:47 +0800 Subject: [PATCH] fix(device_info_plus): Set correct Flutter and Dart versions requirements (#3362) Co-authored-by: Volodymyr Buberenko --- packages/device_info_plus/device_info_plus/README.md | 4 ++-- .../device_info_plus/device_info_plus/example/pubspec.yaml | 5 ++++- packages/device_info_plus/device_info_plus/pubspec.yaml | 4 ++-- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/packages/device_info_plus/device_info_plus/README.md b/packages/device_info_plus/device_info_plus/README.md index bf3207ffd0..fdfd7da563 100644 --- a/packages/device_info_plus/device_info_plus/README.md +++ b/packages/device_info_plus/device_info_plus/README.md @@ -16,8 +16,8 @@ Get current device information from within the Flutter application. ## Requirements -- Flutter >=3.3.0 -- Dart >=3.3.0 <4.0.0 +- Flutter >=3.22.0 +- Dart >=3.4.0 <4.0.0 - iOS >=12.0 - MacOS >=10.14 - Android `compileSDK` 34 diff --git a/packages/device_info_plus/device_info_plus/example/pubspec.yaml b/packages/device_info_plus/device_info_plus/example/pubspec.yaml index 9427ad0d69..7f9597c7e5 100644 --- a/packages/device_info_plus/device_info_plus/example/pubspec.yaml +++ b/packages/device_info_plus/device_info_plus/example/pubspec.yaml @@ -19,4 +19,7 @@ flutter: uses-material-design: true environment: - sdk: '>=3.0.0 <4.0.0' + sdk: '>=3.4.0 <4.0.0' + flutter: '>=3.22.0' + + diff --git a/packages/device_info_plus/device_info_plus/pubspec.yaml b/packages/device_info_plus/device_info_plus/pubspec.yaml index 9970557213..8f71b9ab9e 100644 --- a/packages/device_info_plus/device_info_plus/pubspec.yaml +++ b/packages/device_info_plus/device_info_plus/pubspec.yaml @@ -49,5 +49,5 @@ dev_dependencies: test: ^1.22.0 environment: - sdk: ">=3.3.0 <4.0.0" - flutter: ">=3.3.0" + sdk: ">=3.4.0 <4.0.0" + flutter: ">=3.22.0"