From 337dd30281aee8d6f45c9c69dd6153d60f778d26 Mon Sep 17 00:00:00 2001 From: Jerome Lacoste Date: Mon, 9 Mar 2026 10:41:01 +0100 Subject: [PATCH] fix: align Flutter version config and document requirements (#2717) - Change .fvmrc from "beta" to "stable" to match CI behavior - Update pubspec.yaml Flutter constraint from ^3.38.0 to ^3.41.0 to match what pubspec.lock actually requires - Document Flutter version requirements in docs/setting_dev_env.md Closes lichess-org/mobile#2716 --- .fvmrc | 2 +- docs/setting_dev_env.md | 3 ++- pubspec.yaml | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.fvmrc b/.fvmrc index 7ac2fba5f..a6427fd26 100644 --- a/.fvmrc +++ b/.fvmrc @@ -1,4 +1,4 @@ { - "flutter": "beta", + "flutter": "stable", "flavors": {} } \ No newline at end of file diff --git a/docs/setting_dev_env.md b/docs/setting_dev_env.md index ca148bfe6..a55f31aa6 100644 --- a/docs/setting_dev_env.md +++ b/docs/setting_dev_env.md @@ -6,11 +6,12 @@ If you get stuck during the installation process the most suitable place to seek ## Installing Flutter -This project uses Flutter. +This project uses the latest **Flutter stable** release. The minimum required version is defined in `pubspec.yaml`. 1. Follow [the flutter install guide](https://docs.flutter.dev/get-started/install). This project is meant to run on iOS and Android, so you need to follow the "Platform setup" section of that guide to install the iOS and/or Android platform. + Make sure to install the latest Flutter stable release. > [!WARNING] > Installing on Linux using `snapd` might cause some [problems](https://github.com/lichess-org/mobile/issues/123) building stockfish. diff --git a/pubspec.yaml b/pubspec.yaml index b6a255e9f..b2b60de62 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -7,7 +7,7 @@ version: 0.22.0+002200 # See README.md for details about versioning environment: # this should be updated with every new flutter stable release sdk: ^3.10.0 - flutter: ^3.38.0 + flutter: ^3.41.0 dependencies: app_links: ^7.0.0