A new Flutter project.
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
FVM streamlines Flutter version management. It allows per-project SDK versions, ensuring consistent app builds and easier testing of new releases, thereby boosting the efficiency of your Flutter project tasks.
We use fvm
to manage the Flutter version of our applications. For more information, please refer to the official documentation. For a quick-start, please continue reading.
brew tap leoafarias/fvm
brew install fvm
brew uninstall fvm
brew untap leoafarias/fvm
curl -fsSL https://fvm.app/install.sh | bash
choco install fvm
fvm use [version] [options]
For example, fvm use 3.27.3
will install the Flutter version if it has not already been downloaded and then set the current project repository to use the specified version.
If you are configuring a global version, FVM will check if the global version is set in your environment path. If it is not, it will provide you with the path that needs to be configured.
Link a global Flutter version
fvm global [version]
For example, fvm global 3.27.3
will set the Flutter version 3.27.3
as the global version on your machine.
This is often due to having a global version set by fvm
that does not match the active project. This is caused by tooling which does not play nicely with multiple Flutter versions.
To remedy, temporarily update your global version to match the project and re-run the scripts.
This occurs when there is a conflict between a globally installed fvm
and a Dart pub package install. To remedy, run dart pub global activate fvm
or uninstall the Dart pub package with pub uninstall fvm
.