Workspace for the project apps and related packages.
-
Workspace is managed by Melos
-
Flutter version is managed by FVM.
-
Preferred code editor is Visual Studio Code
-
All applications should be created under the
app
directory. -
All packages should be created under the
package
directory. -
For available scripts, see the melos.yaml file.
Install specified Flutter version
fvm use
fvm flutter doctor
Update used Flutter version
fvm use x.y.z
fvm flutter doctor
Get workspace dependencies
dart pub get
Creating a Flutter app
cd app/
fvm flutter create --template=app example_app
cd ..
melos bootstrap
Creating a Flutter package
cd package/
fvm flutter create --template=package example_package
cd ..
melos bootstrap