Open awvreenen95 opened 6 months ago
Here we're having this error when building for flutter 3.19:
Error: The type 'JSObject' can't be used as supertype.
We should really deprecate this library in favor of package:web
that is vendored by the Dart team itself.
We should really deprecate this library in favor of
package:web
that is vendored by the Dart team itself.
In an ideal world, yes, but package:web
isn't universal either. Maybe a package:universal_web
?
I am attempting to compile a webassembly build for a project I'm working on that makes use of mqtt. The mqtt_client library is dependent on universal_html which does not support webassembly since the dart:html library is not supported.
Please see some more details in an issue I raised on flutter repo and also an issue raised on the mqtt_client repo.