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"(enablesfluttercommands) - Add
export PATH="$PATH":"$HOME/.pub-cache/bin"(enablesprotoc-gen-dartcommands) - Run
source ~/.zshrcor 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.