Web now compiles to WebAssembly
Flutter 3.47 in the kit, with the app compiling via flutter build web --wasm: up to 2x faster on screens with heavy animation, with an automatic fallback to JavaScript on browsers without support.
The blocker for Wasm was bart, the third-party library handling the app's bottom bar and sidebar. We replaced it with go_router's own native navigation (the same pattern already used in the Admin console), no forked dependency, no workaround.
The gain is real and comes from two places: the compiler (dart2wasm) already speeds things up on its own, no configuration needed. The extra multithreaded rendering gain (skwasm) requires server headers that can interfere with social login via popup, so that stays a documented, manual opt-in rather than a forced default.
This only applies to projects created from now on (kasy new). Existing projects keep building with JavaScript until we design an upgrade path.
- Up to 2x faster Measured by the Flutter team itself on screens with heavy widget rebuilds.
- No risk if you don't opt in --wasm is optional; the default build stays JavaScript, no behavior change.


