I'm developing a Flutter project targeting both mobile and web platforms. I want to build most of the app using WebAssembly (Wasm) for performance. However, the google_maps_flutter package doesn't support Wasm, which causes build issues.
I tried building the entire project with Wasm, but google_maps_flutter caused errors. I expected to find a way to use Wasm for the compatible parts of the app while excluding google_maps_flutter from the Wasm build. Is there a way to conditionally build the app using Wasm for supported components and use google_maps_flutter as normal for the web?