I would like to test my application / package running on an older version of Flutter, e.g. specifically Flutter v2.2.3.
There are 2 commands, flutter upgrade and flutter downgrade which might seem to be relevant, but how do I select the specific version of Flutter I want to use? flutter upgrade --help and flutter downgrade --help do not provide any extra information.
/opt/flutter.git checkout the git tag (change to the branch pointed by the tag). For example, there is a git tag called 2.5.0 for the version 2.5.0, so run git checkout 2.5.0. (Thanks Eugene :) )
ref for 2.5.0 is 4cc385b. At the flutter installation directory, run git checkout 4cc385b.flutter (or any specific flutter command) to download and build this version of flutter.fvm use 2.5.1Find the cask of the version you want to install homebrew-cast git history: https://github.com/Homebrew/homebrew-cask/commits/master/Casks/f/flutter.rb
Click on the icon for "View at this point in history"
Click on Raw
Copy the URL from your browser.
Example: https://raw.githubusercontent.com/Homebrew/homebrew-cask/b029783b06b38177c7e3b36ca824789d516468c1/Casks/f/flutter.rb
brew install --cask https://raw.githubusercontent.com/Homebrew/homebrew-cask/b029783b06b38177c7e3b36ca824789d516468c1/Casks/f/flutter.rb
Check flutter --version
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With