Skip to content

Flutter Web (WASM) crashes with RangeError: Maximum call stack size exceeded #5

@tusharbhambere

Description

@tusharbhambere

When running a Flutter Web build using WASM, the application crashes at runtime with the following error:

Uncaught RangeError: Maximum call stack size exceeded
    at main.dart.wasm:0x137f3a0
    at main.dart.wasm:0x137f3af
    at main.dart.wasm:0x96776f
    ...

This issue occurs consistently when flutter_screenutil_plus is included in the project. Removing the package resolves the problem, indicating a compatibility issue with Flutter Web WASM.

Expected Behavior

The app should run normally on Flutter Web with WASM enabled.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions