Building a cross‑platform native rendering engine in Rust for Flutter
Status: Accepted
This session walks through how we embedded a single Rust video engine across iOS and Android in a production Flutter app. We'll cover Flutter's PlatformView to host a native GL surface, MethodChannel to control the engine (passing events), and 'flutter_rust_bridge' to stream events from Rust back to Dart.
We would talk about plugging Notan’s renderer into Flutter’s texture surface and triggering each frame from Flutter. Inside that frame, we would use Notan with the egui plugin to draw simple UI directly from Rust. Flutter displays the final texture, while all the UI rendering happens quietly behind the scenes.
We'll show how we integrate Rust with Flutter for a smooth video-playing experience. We'll close with a quick demo of a Flutter app driving Rust and receiving live events.
Key takeaways for the audience:
• How to structure a single Rust engine for Android/iOS/Web.
• Practical Flutter integration: 'PlatformView' for native GL, 'MethodChannel' for commands, FRB for event streams.
• Simple UI overlays with egui.

