https://github.com/connorrigby/zig-flutter-embedder
FlutterEmbedderGLFW.cc ported to idomatic zig
https://github.com/connorrigby/zig-flutter-embedder
flutter flutter-embedder glfw opengl zig
Last synced: 3 months ago
JSON representation
FlutterEmbedderGLFW.cc ported to idomatic zig
- Host: GitHub
- URL: https://github.com/connorrigby/zig-flutter-embedder
- Owner: ConnorRigby
- License: bsd-3-clause
- Created: 2023-04-12T20:46:14.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-12T20:58:52.000Z (about 2 years ago)
- Last Synced: 2025-03-23T20:24:14.005Z (4 months ago)
- Topics: flutter, flutter-embedder, glfw, opengl, zig
- Language: Zig
- Homepage:
- Size: 6.84 KB
- Stars: 19
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Zig Flutter Embedder
## Usage
The setup for this is currently sort of convoluted. TODO: automate this process in the future..
* [Get Zig](https://ziglang.org/download/)
* [Get Flutter](https://flutter.dev/)
* 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`## Screenshots and Demos
TODO: add more examples

## Docs, Links, etc
These links helped me, but to be quite honest, only in spirit. They contain almost no useful information.
* [unhelpfully empty official documentation](https://docs.flutter.dev/embedded)
* [annoyingly unhelpful official Discord](https://discord.com/invite/N7Yshp4)
* [woefully incomplete official embedder example](https://github.com/flutter/engine/tree/main/examples/glfw#flutter-embedder-engine-glfw-example)