3 ms·
As both a Flutter dev and an Ubuntu user, I am thrilled by the news. Looking forward to seeing how it all works out. In a nutshell, if anyone is interested how
by ToddWBurgess 6y ago
As both a Flutter dev and an Ubuntu user, I am thrilled by the news. Looking forward to seeing how it all works out.
In a nutshell, if anyone is interested how this works, the Flutter apps will be converted and compiled as GTK3 apps. Dart has the FFI package so it's fairly simple as a Flutter dev to do C system calls in Dart. This will of course stop your app from being cross platform out of the box (but I doubt this is a concern for the Ubuntu team).
- lights0123 6y ago> converted and compiled as GTK3 apps What do you mean by that? Isn't one of the goals of Flutter that it gives you pixel-perfect controls, and renders everything itself?
- vbsteven 6y agoI assume parent means that the compiled flutter app uses GTK3 as the shell for spawning windows and initializing the Skia context to which the app can render. This is also how Druid the Rust GUI framework works on Linux. Use GTK to start the window and the paint surface (Cairo).