Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-04-12T20:58:52.000Z (over 1 year ago)
- Last Synced: 2024-06-11T21:56:01.237Z (7 months ago)
- Topics: flutter, flutter-embedder, glfw, opengl, zig
- Language: Zig
- Homepage:
- Size: 6.84 KB
- Stars: 11
- Watchers: 1
- Forks: 0
- 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
![Flutter Demo Home Page](https://cdn.discordapp.com/attachments/1043999192789549076/1095814780217991198/image.png)
![Flutter Demo Home Page](https://cdn.discordapp.com/attachments/1043999192789549076/1095815087245242388/Screencast_from_2023-04-12_14-57-34.webm)## 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)