Bump Dart SDK constraint to >=3.8.0 and document Flutter 3.35+ requirement

The RadioGroup widget (merged via PR #35) requires Flutter 3.35+ /
Dart 3.8+. The old constraint (>=3.5.0) allowed older SDKs that don't
have RadioGroup, causing cryptic build errors instead of a clear
version mismatch from pub get.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Doug Borg
2026-02-09 13:54:00 -07:00
parent 3827a6fa1d
commit 4a342aee9d
2 changed files with 2 additions and 2 deletions

View File

@@ -806,7 +806,7 @@ The app uses a **clean, release-triggered workflow** that rebuilds from scratch
| Tool | Install | Notes |
|------|---------|-------|
| **Homebrew** | [brew.sh](https://brew.sh) | Package manager for macOS |
| **Flutter SDK** | `brew install --cask flutter` | Installs Flutter + Dart |
| **Flutter SDK 3.35+** | `brew install --cask flutter` | Installs Flutter + Dart (3.35+ required for RadioGroup widget) |
| **Xcode** | Mac App Store | Required for iOS builds |
| **CocoaPods** | `brew install cocoapods` | Required for iOS plugin resolution |
| **Android SDK** | See below | Required for Android builds |

View File

@@ -4,7 +4,7 @@ publish_to: "none"
version: 2.6.4+47 # The thing after the + is the version code, incremented with each release
environment:
sdk: ">=3.5.0 <4.0.0" # oauth2_client 4.x needs Dart 3.5+
sdk: ">=3.8.0 <4.0.0" # RadioGroup widget requires Dart 3.8+ (Flutter 3.35+)
dependencies:
flutter: