universal_html
A 'dart:html' that works in all platforms, including Flutter and server-side. Eases cross-platform development and HTML / XML processing.
2.3.0
564K downloads/mo
#483 most downloaded on pub.dev
dint-dev/universal_html
What this package is like to depend on
Last release 9 months ago
16 Nov 2025
Ships unpredictably
gaps range from 1 weeks to 2.2 years
Nearly every release is documented
notes for 59 of 62 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
62 releases · first in 2019
3 releases in the last 12 months
see the full history below
Release timeline
62 releases · Jan 2019 to Nov 2025Releases
latest 60 of 62-
2.3.016 Nov 2025 -
2.2.716 Nov 2025 -
2.2.516 Nov 2025 -
2.2.410 Sep 2023 -
2.2.301 Jun 2023 -
2.2.215 May 2023Release notes
Open source → -
2.2.113 Mar 2023 -
2.2.013 Mar 2023Release notes
Open source →- Allows users to access HTTP request/response when using
WindowController.openHttp.
- Allows users to access HTTP request/response when using
-
2.1.013 Mar 2023Release notes
Open source →- Makes
WindowControllermore testing-friendly. - Adds
EventSourceOutsideBrowserinterface for changing EventSource HTTP headers (issue #63). - Adds WindowController.defaultHttpClient, which will be used as default HTTP client by EventSource and other APIs. It's safe because it does not affect cookies, headers, or anything else dangerous.
- Makes
-
2.0.917 Feb 2023 -
2.0.802 Apr 2021Release notes
Open source →- Adds missing APIs: Worker (issue #36) and a few others.
- Fixes issues with nullability suffixes in Window, Navigator, and others.
-
2.0.726 Mar 2021Release notes
Open source →- Fixes documentation issues and other small issues.
- WindowController can now load (fake)
Windowinstances in browser just like in VM.
-
2.0.625 Mar 2021 -
2.0.525 Mar 2021 -
2.0.416 Mar 2021 -
2.0.315 Mar 2021 -
2.0.215 Mar 2021 -
2.0.115 Mar 2021 -
2.0.015 Mar 2021Release notes
Open source →- Migrated to null safety and the latest version of dart:html.
- BREAKING CHANGES: The API for controlling browser windows has been revamped. It's easier to work with than the earlier one.
- BREAKING CHANGES: Removed "package:universal_html/prefer_universal/X.dart" and "package:universal_html/prefer_sdk/X.dart". Developers should import "package:universal_html/html.dart".
- Some refactoring.
-
1.2.411 Jan 2021 -
1.2.306 Jun 2020 -
1.2.207 Apr 2020 -
1.2.107 Apr 2020Release notes
Open source →- Eliminates dependency on an XML parsing package by introducing our own XML parser.
- Improves documentation.
-
1.2.006 Apr 2020 -
1.1.2106 Apr 2020Release notes
Open source →- Lowers minimum version of
csslib(#17) andhtmldependencies. - Adds @nodoc to helper libraries.
- Lowers minimum version of
-
1.1.2014 Mar 2020 -
1.1.1914 Mar 2020Release notes
Open source →- Fixes a bug in FileReader that caused compile-time errors.
- Updates DIFFERENCES.md
-
1.1.1810 Mar 2020Release notes
Open source →- Fixes parsing of non-standard HTML attribute names (#15) and various other issues.
-
1.1.1703 Mar 2020 -
1.1.1603 Mar 2020Release notes
Open source →- Fixes conditional imports in Node.JS when developer imports 'package:universal_io/X.dart' or 'package:universal_io/prefer_sdk/X.dart'.
-
1.1.1525 Feb 2020Release notes
Open source →- Improved documentation.
- Removed 'package:universal_html/browser/html.dart', which has been marked with @Deprecated for long time. This is a breaking change, but unlikely to affect anyone.
-
1.1.1425 Feb 2020 -
1.1.1317 Feb 2020 -
1.1.1203 Jan 2020 -
1.1.1122 Dec 2019 -
1.1.1019 Dec 2019 -
1.1.918 Dec 2019Release notes
Open source →- Improved test coverage.
- Fixed a bug in window.localStorage.
- Fixed an analysis error in JsArray (issue #8).
-
1.1.811 Dec 2019 -
1.1.710 Dec 2019Release notes
Open source →- Fixed element.innerHtml.
- Added PositionError and a test for navigator.geolocation.
-
1.1.609 Sep 2019 -
1.1.508 Sep 2019 -
1.1.408 Sep 2019Nothing published for this version
-
1.1.308 Sep 2019Release notes
Open source →- Fixed problematic dependency constraints.
- Improved documentation and developer scripts.
-
1.1.207 Sep 2019Release notes
Open source →- Fixed a test failure caused by Dart SDK 2.5.0-dev-2.0.
- Improved documentation.
-
1.1.106 Sep 2019Release notes
Open source →- EventTarget now has a private getter
_htmlDriver. - BrowserImplementation now receives events unless
event.preventDefault()is called. - Replaced BrowserImplementation getter browserClassFactory with getter browserImplementation. Deprecated the old method.
- Improved tests of various elements and fixed a few small bugs.
- Improved tests that compare 'dart:html' and 'package:universal_html'.
- Added various missing classes/class members.
- Improved documentation and formatting.
- Improved explanation that 'src/html/html_common/*.dart' were adopted from Dart SDK without much modifications.
- EventTarget now has a private getter
-
1.1.001 Aug 2019Release notes
Open source →- The sole copyright owner (except for code derived from the Dart SDK as noted in the relevant files) decided to publish the source code the Apache License 2.0. to make the project more enterprise-happy. Previous versions were published under the MIT License.
- Many new tests and bug fixes.
- Many new dart:html APIs.
- Removed class factory APIs in HtmlDriver in favor of separate BrowserImplementation and BrowserImplementationUtils.
- Deprecated "package:universal_html/browser/(library).dart" in favor of more descriptive "package:universal_html/prefer_sdk/(library).dart". Deprecated APIs will be removed in future.
- Added "package:universal_html/prefer_universal/(library).dart".
-
1.0.1324 Jul 2019 -
1.0.1224 Jul 2019 -
1.0.1124 Jul 2019 -
1.0.1008 Jul 2019Release notes
Open source →- Eliminated the following error that Dart build system threw in some cases: Unsupported conditional import of dart:html found in universal_html|lib/html.dart
-
1.0.903 Jul 2019 -
1.0.803 Jul 2019 -
1.0.703 Jul 2019 -
1.0.608 Jun 2019Release notes
Open source →- Fixed various bugs.
- Added browser/html.dart and related documentation.
- Added ServerSideRenderer.
-
1.0.508 Jun 2019 -
1.0.408 Jun 2019 -
1.0.307 Jun 2019 -
1.0.207 Jun 2019Release notes
Open source →- Added dart:html APIs (HttpRequest, etc.) and new libraries (js.dart, js_util.dart, etc.).
-
1.0.101 Jun 2019 -
1.0.029 May 2019Nothing published for this version