After migrating to google_sign_in 6.0.1, running the web app in debug and release mode (VS Code) is working fine.
But building or running the release version of the web app from the command line using
flutter run -d chrome
results in an error:
The current Flutter SDK version is 2.10.5.
Because <app> depends on google_sign_in >=5.4.4 which requires Flutter SDK version >=3.0.0, version solving failed.
Running "flutter pub get" in <app>...
pub get failed (1; Because <app> depends on google_sign_in >=5.4.4 which requires Flutter SDK version >=3.0.0, version solving failed.)
google_sign_in 6.0.1 release documentation on pub.dev shows the minimum Dart SDK version should be 2.14.
fluttter --version on my machine gives:
Flutter 2.10.5 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 5464c5bac7 (11 months ago) • 2022-04-18 09:55:37 -0700
Engine • revision 57d3bac3dd
Tools • Dart 2.16.2 • DevTools 2.9.2
Is Flutter SDK version >=3.0.0 a requirement for google_sign_in 6.0.1?