Rexios

Results 246 comments of Rexios
trafficstars

Your code doesn't happen to be open source does it? Or can you make a minimal reproducible sample?

This branch works for me (at least I haven't noticed any issues) and all the tests pass (except a couple that test behavior for really old browsers) so I'm not...

Please build with `--no-strip-wasm` to get a meaningful stack trace

Also try running with flutter master and the command `flutter run -d chrome --wasm` Although your issue is probably due to using BoxCollection which I'm not sure is covered by...

@1l0 @theniceboy Please try commit hash `888f810f5be0f3f25ec9d1c90cf113214b801d82`. I think the issue was with doing type checking incorrectly.

Unfortunately this does require a Dart version constraint of `^3.4.0`, but I'm not sure we should care all that much since you need modern dart to compile to WASM anyways

I figured out how to run the tests compiled to WASM and fixed even more issues. Please let me know how testing goes.

@1l0 I wrote tests for BoxCollection and they pass so the original code you showed me should work now

I did a bunch of cleanup. I also refactored the code that required dart 3.4.0, but the web package requires dart 3.3.0 anyways so not really much of an accomplishment.

@1l0 https://docs.flutter.dev/platform-integration/web/wasm#serve-the-output-with-an-http-server