universal_html 0.1.0 copy "universal_html: ^0.1.0" to clipboard
universal_html: ^0.1.0 copied to clipboard

outdated

Supports a subset of 'dart:html' in all platforms (browser, VM, and Flutter).

example/universal_html.dart

import "package:universal_html/html.dart";

void main() {
  // Create a DOM tree
  final element = Element.tag("h1")..appendText("Hello world!");

  // Print outer HTML
  print(element.outerHtml);
}
470
likes
30
pub points
99%
popularity

Publisher

verified publisherdint.dev

Supports a subset of 'dart:html' in all platforms (browser, VM, and Flutter).

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

charcode, csslib, html, meta

More

Packages that depend on universal_html