Skip to content

Commit 6a00d1f

Browse files
committed
chore(docs): update flutter version (remove install using git instructions to simplify docs)
1 parent 918c5c3 commit 6a00d1f

1 file changed

Lines changed: 3 additions & 21 deletions

File tree

docs/building.md

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -77,16 +77,7 @@ pip3 install --upgrade meson==0.64.1 markdown==3.4.1 markupsafe==2.1.1 jinja2==3
7777
```
7878

7979
### Flutter
80-
Install Flutter 3.35.7 by [following their guide](https://docs.flutter.dev/get-started/install/linux/desktop?tab=download#install-the-flutter-sdk). You can also clone https://github.com/flutter/flutter, check out the `3.35.7` tag, and add its `flutter/bin` folder to your PATH as in
81-
```sh
82-
FLUTTER_DIR="$HOME/development/flutter"
83-
git clone https://github.com/flutter/flutter.git "$FLUTTER_DIR"
84-
cd "$FLUTTER_DIR"
85-
git checkout 3.35.7
86-
echo 'export PATH="$PATH:'"$FLUTTER_DIR"'/bin"' >> "$HOME/.profile"
87-
source "$HOME/.profile"
88-
flutter precache
89-
```
80+
Install Flutter 3.38.5 by [following their guide](https://docs.flutter.dev/install/manual).
9081

9182
Run `flutter doctor` in a terminal to confirm its installation.
9283

@@ -227,7 +218,7 @@ rustup target add aarch64-apple-ios aarch64-apple-darwin
227218
Optionally download [Android Studio](https://developer.android.com/studio) as an IDE and activate its Dart and Flutter plugins. VS Code may work as an alternative, but this is not recommended.
228219

229220
### Flutter
230-
Install [Flutter](https://docs.flutter.dev/get-started/install) 3.29.2 on your Mac host by following [these instructions](https://docs.flutter.dev/get-started/install/macos). Run `flutter doctor` in a terminal to confirm its installation.
221+
Install 3.38.5 on your Mac host by [following their guide](https://docs.flutter.dev/install/manual). Run `flutter doctor` in a terminal to confirm its installation.
231222

232223
### Build plugins and configure
233224
#### Building plugins for iOS
@@ -293,16 +284,7 @@ If the DLLs were built on the WSL filesystem instead of on Windows, copy the res
293284
Frostdart will be built by the Windows host later.
294285

295286
### Install Flutter on Windows host
296-
Install Flutter 3.35.7 on your Windows host (not in WSL2) by [following their guide](https://docs.flutter.dev/get-started/install/windows/desktop?tab=download#install-the-flutter-sdk) or by cloning https://github.com/flutter/flutter, checking out the `3.35.7` tag, and adding its `flutter/bin` folder to your PATH as in
297-
```bat
298-
@echo off
299-
set "FLUTTER_DIR=%USERPROFILE%\development\flutter"
300-
git clone https://github.com/flutter/flutter.git "%FLUTTER_DIR%"
301-
cd /d "%FLUTTER_DIR%"
302-
git checkout 3.35.7
303-
setx PATH "%PATH%;%FLUTTER_DIR%\bin"
304-
echo Flutter setup completed. Please restart your command prompt.
305-
```
287+
Install Flutter 3.38.5 on your Windows host (not in WSL2) by [following their guide](https://docs.flutter.dev/install/manual).
306288

307289
Run `flutter doctor` in PowerShell to confirm its installation.
308290

0 commit comments

Comments
 (0)