
Go x Flutter frontend template
Build cross-platform Flutter apps with embedded Go.
- Web
- Android
- iOS
- macOS
Install the CLI from GitHub Releases.
Create a new project:
flapThis checks dependencies, prompts for your app name and bundle ID, clones the template, and runs the full setup automatically.
The template is set as the upstream remote. To pull in updates:
git fetch upstream
git merge upstream/master- Go
- Flutter
- protoc
- perl
- npm (for Web)
- TinyGo (for Web)
- Chrome (for Web)
Create custom.mk from template.mk then fill the environments:
cp template.mk custom.mkPrepare:
make preparePrepare for Web testing:
make prepare_go_wasm_testRun the Web app:
make web_runOther options:
make helpAt the early stage of this project, it was heavily influenced by flutter-openpgp, which convinced me of the potential of the Go–Flutter bridge.