Finally I found an answer on Flutter docs on WASM
https://docs.flutter.dev/platform-integration/web/wasm#serve-the-built-output-with-an-http-server
Flutter web applications won't run with WebAssembly unless the server is configured to send specific HTTP headers.