u/_XYZT_

Raylib Dartified (not just another boring ffigen wrapper)

Raylib Dartified (not just another boring ffigen wrapper)

~98% of the full Raylib 5.5 API completely Dartified (+ optional Raygui support).

Instead of dumping raw ffigen output and calling it a day, this is a hand-crafted, layered approach: a thin raw FFI layer underneath, and a proper Dart-idiomatic layer on top. Structs feel like Dart objects, memory is managed sensibly, and the API doesn't make you feel like you're writing C with extra steps.

Coverage-wise, this is about as complete as a Raylib wrapper for Dart is going to get right now. There are a large number of ported official examples, both for the raw FFI layer and the higher-level Dart layer, so you can see exactly how everything maps.

The API is approaching stability. Once it settles, the plan is to track Raylib 6.0.

Links:

Of course, nothing is perfect. Testers are welcome, if something is broken, missing, or feels off, open an issue or leave a comment.

u/_XYZT_ — 9 days ago