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, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
- API call
- Compare all the popular state management approaches
Since there is no such thing like NPM/NodeJS scripts in Dart, we need to manage our tooling and scripts manually. Most of the tools that we need are available in Homebrew, so we are using a Brewfile to manage those tooling dependencies using Homebrew Bundle.
Please make sure that Homebrew is already installed in your local machine. Then run this command to install all the defined dependencies in our Brewfile.
brew bundle
lefthook install
These are the tools that will be installed by that command above:
We need lcov to visualise the code coverage of our unit and integration tests.
We are using Lefthook for managing our Git pre-commit hooks across the contributors.
We are also using Lefthook for running our commonly-used scripts.
The lefthook install
command ensures that your lefthook.yml file is synced with your local Git hooks.
lefthook run coverage