flutterust icon indicating copy to clipboard operation
flutterust copied to clipboard

Flutter web support?

Open mirkokiefer opened this issue 5 years ago • 4 comments

Would it be possible to produce Rust targets that work with Flutter web?

mirkokiefer avatar Sep 05 '20 08:09 mirkokiefer

Yes, in theory that's possible .. but it would require that your Rust code compiled to WASM and then you could load it in Flutter using dart wasm https://github.com/dart-lang/sdk/issues/37355

shekohex avatar Sep 05 '20 12:09 shekohex

Yes, in theory that's possible .. but it would require that your Rust code compiled to WASM and then you could load it in Flutter using dart wasm dart-lang/sdk#37355

I hope it will e reality one day https://github.com/flutter/flutter/issues/41062

iapicca avatar Sep 27 '20 11:09 iapicca

@mirkokiefer @shekohex @iapicca just out curiosity. Can the web suppot be not enabled by add support for wasm at rust level?

pratikpparikh avatar Apr 03 '21 14:04 pratikpparikh

Yes, Rust+Flutter Web works: https://github.com/fzyzcjy/flutter_rust_bridge

fzyzcjy avatar Oct 22 '22 00:10 fzyzcjy