universal_html
universal_html copied to clipboard
Cross-platform 'dart:html'.
In https://github.com/dint-dev/universal_html/blob/0ea6592b88b0814edfce0ff10cb9a7159f87f9a6/lib/src/js.dart#L214 the `Object` is not nullable, whereas in https://github.com/dart-lang/sdk/blob/234128e8d37d78f4c03405734eba3b05a6691ce5/sdk/lib/js/js.dart#L131 the value is nullable. As an example, we cannot set the context with this operator, e.g. `context['define'] = null;`
[ERROR:flutter/lib/ui/ui_dart_state.cc(186)] Unhandled Exception: UnimplementedError E/flutter (30797): #0 Url.createObjectUrlFromBlob (package:universal_html/src/html/api/history.dart:175:5) E/flutter (30797): #1 _MyHomePageState.decryptFile (package:flutter_screenshot/main.dart:214:21) E/flutter (30797): E/flutter (30797): #2 _MyHomePageState.perfomEncryptionTasks (package:flutter_screenshot/main.dart:147:5) E/flutter (30797): E/flutter (30797): i'm using this example final...
Fixes https://github.com/dint-dev/universal_html/issues/48. Hi, i was having the same issue and this changes fixed it for me, more info in https://github.com/dart-lang/build/issues/3173. You already had the `src/_sdk` directory with all `dart:`, so...
it is causing issues
The null check `css.parseSelectorGroup(input)!` in `querySelectorAll(String input)` in `node.dart` throws an exception if you pass an empty string as input. Same issue occurs with `querySelector`, as that also calls `querySelectorAll`....
has anyway to five credentials, a reader or a body to SSE request ? `final eventSource = EventSource(uri.toString());`
I'm trying to download an captured QR png image locally I need to achieve that for flutter web. I found the solution: https://stackoverflow.com/a/67016194/11468643 which is working fine when I open...
Hi! Thanks for your awsome package., but I encountered some problems in the following tests. Any ideas? index.html ```html title1 p1 title2 p2 ``` ```dart import 'dart:io'; import 'package:universal_html/parsing.dart'; void...
