You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 8, 2025. It is now read-only.
To use a specific version of Flutter, simply change the value of the `FLUTTER_VERSION` variable to a **tag** from the repository that represents the version you want to use. In this case the version 3.13.0 tag is being used.
72
+
73
+
### Use specific Flutter Checkout
71
74
72
-
If you want to use a specific version of Flutter for the build, you must modify the line:
75
+
If you want to use a specific commit due to a fork or something, (IDK) you must modify the line:
73
76
74
77
```dockerfile
75
-
RUN cd $FLUTTER_SDK && git checkout efbf63d9c66b9f6ec30e9ad4611189aa80003d31
78
+
RUN cd $FLUTTER_SDK_LOCATION && git checkout tags/$FLUTTER_VERSION
76
79
```
77
80
78
-
Modifying the git checkout **hash** (`efbf63d9c66b9f6ec30e9ad4611189aa80003d31` in this example) to
79
-
the corresponding hash of the desired version.
81
+
And replace it with:
80
82
81
-
Here are some of the latest stable versions and their corresponding hashes:
83
+
```dockerfile
84
+
RUN cd $FLUTTER_SDK_LOCATION && git checkout efbf63d9c66b9f6ec30e9ad4611189aa80003d31
Then, modifying the git checkout **hash** (`efbf63d9c66b9f6ec30e9ad4611189aa80003d31` in this example) to
88
+
the corresponding hash of the desired commit.
92
89
93
-
#### Obtain version hash
90
+
#### Obtain version **tag** and **hash**
94
91
95
92
To obtain the hash of a specific version, you must go to
96
-
the [flutter repo](https://github.com/flutter/flutter), deploy the **branches combo**, go to the **
97
-
tags** tab, **select the tag** from the desired version, and **copy the hash** associated with the
98
-
committee of that tag.
99
-
, like this:
93
+
the [flutter repo](https://github.com/flutter/flutter), deploy the **branches combo**, go to the **tags** tab, **select the tag** from the desired version, and **copy the hash** associated with the
0 commit comments