Skip to content
main
Switch branches/tags
Code

Latest commit

{
  "date": "2021-10-20T16:10:40.510Z",
  "files": [
    {
      "name": "releases_macos.json",
      "deltaBytes": 334,
      "source": "https://storage.googleapis.com/flutter_infra_release/releases/releases_macos.json"
    },
    {
      "name": "releases_windows.json",
      "deltaBytes": 338,
      "source": "https://storage.googleapis.com/flutter_infra_release/releases/releases_windows.json"
    },
    {
      "name": "releases_linux.json",
      "deltaBytes": 337,
      "source": "https://storage.googleapis.com/flutter_infra_release/releases/releases_linux.json"
    }
  ]
}
224d445

Git stats

Files

Permalink
Failed to load latest commit information.

fvm

GitHub stars Pub Version Likes Pub points Coverage Github All Contributors MIT Licence Awesome Flutter

Flutter Version Management: A simple cli to manage Flutter SDK versions.

FVM helps with the need for a consistent app builds by allowing to reference Flutter SDK version used on a per-project basis. It also allows you to have multiple Flutter versions installed to quickly validate and test upcoming Flutter releases with your apps, without waiting for Flutter installation every time.

Features:

  • Configure and use Flutter SDK version per project
  • Ability to install and cache multiple Flutter SDK Versions
  • Fast switch between Flutter channels & versions
  • Dynamic SDK paths for IDE debugging support.
  • Version FVM config with a project for consistency across teams and CI environments.
  • Set global Flutter version across projects

Read the FVM documentation


Checkout Flutter Sidekick. Read more about it here.

FVM App Screenshot

Working with this repo

Tests

pub run test

Publishing package

Before pushing package to pub.dev. Run command to create version constant.

pub run build_runner build

Update test coverage

To update test coverage run the following command.

pub run test_cov

Troubleshooting

  1. On Windows make sure you are running as an administrator
  2. If you get errors with messages invalid kernel binary or invalid sdk hash it means you activated fvm using flutter pub global activate fvm. Only activate fvm using pub global activate fvm. If you get Command 'pub' not found, then make sure to append export PATH="$PATH:/usr/lib/dart/bin" to your ~/.bashrc (gets reiniated each time you open a bash shell) or ~/.profile (only read at login) file.

License

This project is licensed under the MIT License - see the LICENSE file for details

Contributors

Thanks goes to these wonderful people (emoji key):


Leo Farias

📖 🤔 💻 💡 👀 🚧 🚇

Ianko Leite

🤔

Caijinglong

💻 🤔

zmtzawqlp

🐛

Peter Leibiger

💻 🚧 💬

Luca Panteghini

📖

David Martos

💻 ⚠️ 📖

Sven Jacobs

💻

Wolfhard Prell

💻

Jaspreet Singh

🤔 💻

Matias de Andrea

📖

znjameswu

🐛

Dominik Roszkowski

📖 📢

Suguru Kishimoto

🐛

mx1up

🐛 💻

Alexandru Mariuti

💻

Andrea Del Fante

🤔 💻

Pieter van Loon

💻 🤔

Mr Yang

💻

Krzysztof Bogacki

🐛 💻

Sebastian Roth

💻 🤔

Taras Mankovski

🚇 🤔

Jan Mewes

📖

Allan Laal

📖

Rob Halff

📖

Nils Reichardt

🚇 💻

This project follows the all-contributors specification. Contributions of any kind welcome!