The home of all shared Dart resources for the Provenance ecosystem.
- Install the latest Flutter SDK
- Install protoc and add it to your PATH.
- Install the protoc_plugin
- Open or create
~/.zshrc
- Add
export PATH="$PATH:<Flutter SDK path>/bin"
(enablesflutter
commands) - Add
export PATH="$PATH":"$HOME/.pub-cache/bin"
(enablesprotoc-gen-dart
commands) - Run
source ~/.zshrc
or restart Terminal
Install the Flutter extension
- Open the Extensions window (Code -> Preferences -> Extensions)
- Search for "Flutter" and click Install
Enable Format On Save
- Open Settings (Code -> Preferences -> Settings)
- On the User tab, go to Text Editor -> Formatting
- Check the box for Format On Save
For setting up auto formatting on other IDEs please see the Flutter Documentation.
Update/Build Protos
- Run
./build_proto.sh
- Commit the code changes.