Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix wasm compilation using dart.library.js_interop #247

Closed
wants to merge 1 commit into from

Conversation

nohli
Copy link

@nohli nohli commented Jun 27, 2024

Fixes #244

You can try this PR with using this in your pubspec.yaml:

dependency_overrides:
  vector_graphics_compiler:
    git:
      url: https://github.com/nohli/vector_graphics
      path: packages/vector_graphics_compiler
      ref: js_interop

I've created two PRs. Both work for me when using https://pub.dev/packages/flutter_svg.

@nohli nohli changed the title Fix wasm compilation with dart.library.js_interop Fix wasm compilation with using dart.library.js_interop Jun 27, 2024
@nohli nohli changed the title Fix wasm compilation with using dart.library.js_interop Fix wasm compilation using dart.library.js_interop Jun 27, 2024
@pepealonso95
Copy link

works for me!

@nohli
Copy link
Author

nohli commented Jul 18, 2024

This is fixed in the latest Flutter stable release 3.22.3.

@nohli nohli closed this Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ffi imported when compiling for web wasm
2 participants