Flutter: StageXL replace Skia in dart:ui for web

264 views
Skip to first unread message

Benjamin Thong Chee Wai

unread,
Sep 21, 2017, 11:08:35 PM9/21/17
to StageXL
Hi guys :)
I'm investigating the possible use of Dart for our future projects.

Flutter seems to be a fully Dart framework riding on Skia and Text


I'm not familiar with Skia and just chanced upon StageXL. So I'm wondering... is it feasable to re-implement  dart:ui to use StageXL and hence bring Flutter onto Web (as opposed to StageXL onto Flutter)?


Thank you for your help :)

Nils Döhring

unread,
Sep 22, 2017, 4:52:02 AM9/22/17
to StageXL
Having created a UI library for StageXL, I was thinking the same thing. So far, I didn't get around to look into it more deeply, but for sure it would require massive refactoring towards the dart:ui API. Might become my cold winter evenings project.

Here's the library:
While it's lightweight, fast, and runs on all browsers and devices (down to iPhone 4), there's still lots to be done.

Bernhard Pichler

unread,
Sep 24, 2017, 7:29:59 AM9/24/17
to StageXL
Hi Benjamin,

Yes that's in interesting idea, but as Nils already said it's probably a lot of work to implement it. 
I wonder if it wouldn't be easier to implement it on top of WebGL since Skia is built on top of OpenGL (i assume).
So this would be a "port Skia to WebGL" project,

Kind regards,
Bernhard

Benjamin Thong

unread,
Sep 24, 2017, 10:08:22 PM9/24/17
to StageXL
Thank you Nils and Bernhard for the response and direction.

I'll get my hands dirty with Dart and Flutter then, and likely attempt an open dart:ui -> webGL port.

Cheers!
Reply all
Reply to author
Forward
0 new messages