Open lukassgramm opened 2 weeks ago
Thank you @lukassgramm for this issue and the suggested solutions. It's true that we want to make this lib WASM-compatible, but we don't always have the skills to go all the way. Any help is welcome
See: https://github.com/archethic-foundation/wagmi_flutter_web/discussions
Is your feature request related to a problem?
Official Flutter documentation:
https://dart.dev/interop/js-interop/package-web
Describe the solution you'd like
Update lib/wagmi_flutter_web.dart
Only in this file is
dart:html
used.Import web
Before
After
Update _completeOnReadyEvent
Before
After
Update _injectJavascriptModule
Before
After
If item(0) not work, try https://github.com/dart-lang/web/issues/281
Additional context
No response
Epic
No response