A new Flutter project.
-
Install Flutter on your machine;
-
Run
check-all
shell script to make sure the project is ready to run:$ sh ./scripts/check-all
- Notes: lcov is required for generate html coverage report.
We recommend to use lefthook for run check-all
with every commit.
- install lefthook on macOS:
$ brew install lefthook
- run command
lefthook install
to finish the setup.
- Flutter related:
- run
flutter doctor
to check the environment. - run
flutter upgrade
to check whether the Flutter is latest version.
- run