Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,7 @@
{ "source": "/to/review-gradle-config", "destination": "/deployment/android#review-the-gradle-build-configuration", "type": 301 },
{ "source": "/to/save-layer-perf", "destination": "/perf/best-practices#use-savelayer-thoughtfully", "type": 301 },
{ "source": "/to/state-management-sample", "destination": "/data-and-backend/state-mgmt/simple", "type": 301 },
{ "source": "/to/switch-flutter-version", "destination": "/release/upgrade/#switching-to-a-specific-flutter-version", "type": 301 },
{ "source": "/to/track-widget-creation", "destination": "/tools/devtools/inspector#track-widget-creation", "type": 301 },
{ "source": "/to/troubleshoot-devices", "destination": "/get-started/install", "type": 301 },
{ "source": "/to/unbounded-constraints", "destination": "/ui/layout/constraints#unbounded", "type": 301 },
Expand Down
26 changes: 22 additions & 4 deletions src/content/release/upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,28 @@ $ flutter channel beta
$ flutter upgrade
```

:::note
If you need a specific version of the Flutter SDK,
you can download it from the [Flutter SDK archive][].
:::

## Switching to a specific Flutter version

To switch to a specific Flutter version:

1. Find your desired **Flutter version** on the [Flutter SDK archive][].

1. Navigate to the Flutter SDK:

```console
$ cd /path/to/flutter
```

:::tip
You can find the Flutter SDK's path using `flutter doctor --verbose`.
:::

1. Use `git checkout` to switch to your desired **Flutter version**:

```console
$ git checkout <Flutter version>
```


## Upgrading packages
Expand Down