The setup for this is currently sort of convoluted. TODO: automate this process in the future..
- Get Zig
- Get Flutter
- Get a statically linked library for your platform:
find / -name "engine.version"
- Unzip that into this directory:
unzip flutter_embedder
- Create a new flutter app (or copy your own):
flutter create myapp
- Create a bundle:
cd myapp && flutter build bundle
zig build run
TODO: add more examples
These links helped me, but to be quite honest, only in spirit. They contain almost no useful information.