universal_html icon indicating copy to clipboard operation
universal_html copied to clipboard

Cross-platform 'dart:html'.

Results 53 universal_html issues
Sort by recently updated
recently updated
newest added

Can we add the "web" platform tag to https://pub.dev/packages/universal_html?

Please refer to this repository: https://github.com/harkairt/test_compile_error especially [this](https://github.com/harkairt/test_compile_error/blob/e35873581b052fcac52a8c6d64cf5cdd03557099/lib/tab_visibility_change_recognizer.dart#L40) line Steps: - clone the repository - `fvm use` (or simply use a global flutter 3.16.5) - `flutter pub get && flutter...

Error (Xcode): ../../.pub-cache/hosted/pub.flutter-io.cn/universal_html-2.0.8/lib/src/html/dom/element_subclasses.dart:2711:30: Error: The argument type 'String?' can't be assigned to the parameter type 'Object' because 'String?' is nullable and 'Object' isn't. please help, on mac os, i can...

The following code works correctly on web: ```dart var other = html.window.open(...); other.close(); ``` I obviously have this code behind a `kIsWeb`, such that this code is never run on...

In the example code provided by you for Scraping a website #, replicating the code gives the following error "The getter 'document' isn't defined for the class 'WindowController'". [Problem.docx](https://github.com/dint-dev/universal_html/files/13326165/Problem.docx)

I wrote this method to get media time in Flutter, everything is fine on the web, but it gives me this error on other platforms. code: `Future getWebDuration(Uint8List bytes, MediaType...

Set getter to non nullable to match api: https://api.dart.dev/stable/2.17.0/dart-html/HttpRequest/responseHeaders.html

Can we have websocket feature using this library??

Current implementation of `replaceWith` is missing setting `_nextNode` and `_previousNode` for siblings of the node argument (the one that replaces current node). It is causing tree structure issues and bugs...