Skip to content
This repository was archived by the owner on Jul 6, 2026. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
98 commits
Select commit Hold shift + click to select a range
0f3e3a4
test: Add a few more unit tests
Sub6Resources Sep 6, 2022
a62449a
fix: Change CSSBoxWidget to CssBoxWidget
Sub6Resources Sep 17, 2022
9dc7f08
fix: Use enum instead of const int internally in length.dart
Sub6Resources Sep 17, 2022
7581ea7
fix: Apply margins to <table> properly
Sub6Resources Sep 17, 2022
ff059b7
Merge pull request #1135 from Sub6Resources/enhancement/margin-values
Sub6Resources Sep 17, 2022
18c77db
chore: Add basic melos support
Sub6Resources Sep 26, 2022
92e4bd9
Add analysis and code format checks
Sub6Resources Sep 26, 2022
bce44d4
chore: Add analysis_options.yaml to each package
Sub6Resources Sep 26, 2022
3defeec
Fix analysis warning
Sub6Resources Sep 26, 2022
e1a5d3d
Fix analysis hints in lib/
Sub6Resources Sep 26, 2022
b7b8c2d
Fix analysis hints in test/
Sub6Resources Sep 26, 2022
0976e7e
Fix analysis hints in example/
Sub6Resources Sep 26, 2022
b74054c
Fix analysis hints in packages/flutter_html_audio
Sub6Resources Sep 26, 2022
a346914
Fix analysis hints in flutter_html_iframe
Sub6Resources Sep 26, 2022
8bdb767
Fix analysis hints in flutter_html_math
Sub6Resources Sep 26, 2022
f7ad078
Fix analysis hints in flutter_html_svg
Sub6Resources Sep 26, 2022
42d3a72
Fix analysis hints in flutter_html_table
Sub6Resources Sep 26, 2022
87e1575
Fix analysis hints in flutter_html_video
Sub6Resources Sep 26, 2022
abf5274
Run flutter formatter
Sub6Resources Sep 26, 2022
64f9485
chore(release): publish packages
Sub6Resources Sep 27, 2022
e4149b7
Update changelog
Sub6Resources Sep 27, 2022
cb23cf0
Remove pubspec_overrides as they should be ignored by .gitignore
Sub6Resources Sep 30, 2022
db99a2b
flutter_html_mat: escape braces
fukatani Oct 11, 2022
e99e2cc
feat: Support mtable, mtd, mtr for draw matrix. (#1164)
fukatani Oct 20, 2022
deb726a
feat: Upgrade list-style-type to CSS3
Sub6Resources Oct 7, 2022
520ff3c
fix: Fix various issues with list rendering
Sub6Resources Oct 8, 2022
6571e3b
Re-add support for list-style-image and do some final cleanup
Sub6Resources Oct 20, 2022
c75e0df
fix: Fix issue with font scaling introduced in 3.0.0-alpha.6 (#1173)
Sub6Resources Oct 21, 2022
9ca2308
feat: Support mfenced. (#1174)
fukatani May 9, 2023
a999a30
feat: Support mmultiscripts. (#1175)
fukatani May 9, 2023
298b986
fix SelectableHtml not rebuild when data change (#1111)
docaohuynh May 9, 2023
e6e0381
Correct margin collapse (#1237)
arjanmels May 9, 2023
9a3d8a3
Adding tests for SVG and fixing height/width bug (#1202)
jlyonsmith May 9, 2023
a5f9928
Fix missing headers parameter (#1203)
ndelanou May 9, 2023
07f112a
Improve video (#1236)
arjanmels May 9, 2023
ed75f8f
Fix: Aspect ratio exception when height is 0 (#1222)
ib-8 May 9, 2023
d316bd4
Corrected accessibility text scaling
May 12, 2023
8ac444b
Migrate `CustomRender` to `HtmlExtension` (#1176)
Sub6Resources May 13, 2023
b5758e2
Corrected whitespace (dart format --line-length=80
May 14, 2023
2ffa1dd
feat: Add WrapperExtension helper (#1264)
Sub6Resources May 15, 2023
d7247cb
fix: a tag should not style as link if href is not provided (#1265)
Sub6Resources May 15, 2023
fe896de
feat: support vertical-align in inline styles (#1266)
Sub6Resources May 15, 2023
cc00406
fix: Cleaned up whitespace processing and added whitespace tests (#1267)
Sub6Resources May 16, 2023
1715cdc
Use proper `<figure>` stylesheet (#1269)
Sub6Resources May 16, 2023
6a83e45
Merge branch 'text_scaling' of https://github.com/noviocare/flutter_h…
Sub6Resources May 16, 2023
15cb05e
fix: Corrected accessibility text scaling
Sub6Resources May 16, 2023
27e33a9
fix: improve API for ExtensionContext and export marker.dart (#1273)
Sub6Resources May 18, 2023
6350f02
fix: Add "display: Display.block" to table (#1278)
arjanmels May 23, 2023
496d1aa
fix: start list items on a new line (#1281)
nico-famedly May 23, 2023
d709199
feat: Update CssBoxWidget to handle rtl marker boxes (#1270)
Sub6Resources May 23, 2023
a380ebc
Mark Summary and Details as block items (#1276)
arjanmels May 26, 2023
46a11b1
chore(release): publish packages
Sub6Resources May 31, 2023
2bba928
Reformat CHANGELOG.md
Sub6Resources May 31, 2023
a55d3df
chore: Update upper sdk constraint for external packages to Dart 4.0.…
Sub6Resources May 31, 2023
32b59d4
Update CONTRIBUTING.md
Sub6Resources May 31, 2023
79ec194
Update flutter math fork version (#1304)
zhourengui Jun 5, 2023
f229cae
feat: Expand Display support
Sub6Resources Jun 3, 2023
f74c2a5
fix: Fix many intrinsic issues and add better support for vertical-al…
Sub6Resources Jun 3, 2023
90550dd
Add fixes for some table and intrinsic sizing issues
Sub6Resources Jun 7, 2023
4ffbde9
feat: expose image element for custom render / extensions
kaiquegazola Jul 4, 2023
cd0992f
refactor: remove unused image element imports
kaiquegazola Jul 4, 2023
6d90bd7
update readme for subpackages for migration from CustomRender to Html…
ndusart Jul 19, 2023
403a644
Add srcdoc check when building IframeWidget
swiftymf Aug 9, 2023
4dc81e1
Added disc as default list style
GabrielAraujo Nov 6, 2023
be92255
fix: enable JavaScript in iframe
DocMarty84 May 12, 2024
e9b837e
Update styled_element.dart
DanilKarasev May 15, 2024
86f0d89
feature/a-href-overridable-style
EArminjon Jul 23, 2024
ecbeafa
fix-html-inside-data-table
EArminjon Jan 30, 2025
cf019bc
Merge pull request #1306 from Sub6Resources/fix/intrinsics-and-table
Sub6Resources Mar 11, 2025
edd2a78
Merge pull request #1390 from spectorasoftware/default-list-style-type
Sub6Resources Mar 11, 2025
be621b9
Merge pull request #1344 from ndusart/readme
Sub6Resources Mar 11, 2025
b2eeb54
Merge pull request #1336 from kaiquegazola/feature/expose-image-element
Sub6Resources Mar 11, 2025
1ebda1f
Merge pull request #1355 from uptech/allow-srcdoc
Sub6Resources Mar 11, 2025
0661b72
Merge pull request #1421 from DocMarty84/master-fix-iframe
Sub6Resources Mar 11, 2025
42794f6
Merge pull request #1423 from DanilKarasev/master
Sub6Resources Mar 11, 2025
0f3874f
Merge branch 'master' into feature/a-href-overridable-style
Sub6Resources Mar 11, 2025
6bccb32
Merge pull request #1431 from EArminjon/feature/a-href-overridable-style
Sub6Resources Mar 11, 2025
5f02256
Merge pull request #1460 from EArminjon/fix-html-inside-data-table
Sub6Resources Mar 11, 2025
5bcf2f9
chore: Update dependency versions
Sub6Resources Mar 11, 2025
8787648
update copyright date and example dependencies
Sub6Resources Mar 11, 2025
30f2fb1
Handle case where parent of non-shrink-wrapped Html has infinite width
Sub6Resources Mar 11, 2025
30231b2
fix: Update dependency versions, and fix some Table issues
Sub6Resources Mar 11, 2025
f3f36bb
Switch from CircleCI to Gitub Actions
Sub6Resources Mar 11, 2025
3bdb550
Merge pull request #1465 from Sub6Resources/gh-actions
Sub6Resources Mar 11, 2025
a152527
Change branch name
Sub6Resources Mar 11, 2025
d47a4cc
Test melos directly
Sub6Resources Mar 11, 2025
634cfdc
Adjust example dependency structure to rely on melos
Sub6Resources Mar 11, 2025
a11a9cd
Upgrade from dart:html to pkg:web
Sub6Resources Mar 11, 2025
7c6d460
Add missing .
Sub6Resources Mar 11, 2025
2814407
Merge pull request #1466 from Sub6Resources/gh-actions
Sub6Resources Mar 11, 2025
ed1f5e9
chore: Update README with new CI badge (#1467)
Sub6Resources Mar 11, 2025
3b72add
fix: fixed regression in list marker positioning (#1468)
Sub6Resources Mar 11, 2025
8cee321
fix: Fixed Illegal RegExp in Safari in 3.0.0-beta.1 and beta.2 (#1444)
nambiarAswathi Mar 11, 2025
0fa7e1d
chore: Release 3.0.0
Sub6Resources Mar 11, 2025
386c1cc
Remove files that have been gitignored
Sub6Resources Mar 11, 2025
eb9845f
fix: Corrected README imports (#1469)
Sub6Resources Mar 12, 2025
d46cfde
fix: Fix text-transform inheritance (#1470)
Sub6Resources Mar 12, 2025
c182a31
fix: fix text decoration regressions (#1448)
a1rwulf Mar 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions .circleci/config.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# These are supported funding model platforms

github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
github: Sub6Resources
patreon: # Replace with a single Patreon username
open_collective: flutter_html
ko_fi: # Replace with a single Ko-fi username
Expand Down
Binary file removed .github/flutter_html_screenshot.png
Binary file not shown.
Binary file removed .github/flutter_html_screenshot2.png
Binary file not shown.
Binary file removed .github/flutter_html_screenshot3.png
Binary file not shown.
33 changes: 33 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: flutter_html tests

on:
pull_request:
branches: [ master ]
push:
branches: [ master ]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dart-lang/setup-dart@v1
- uses: flutter-actions/setup-flutter@54feb1e258158303e041b9eaf89314dcfbf6d38a
- name: Setup Melos
run: flutter pub global activate melos
- name: Bootstrap Project
run: melos bootstrap
- name: Run Test Suite
run: flutter pub global run melos run test
- name: Compile Test Coverage Report
run: flutter pub global run melos run gen_coverage
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v5
with:
files: coverage_report/lcov.info
disable_search: true
token: ${{ secrets.CODECOV_TOKEN }}
- name: Run Dart Analysis
run: flutter pub global run melos analyze --fatal-infos
- name: Check that `dart format` has been run on every file
run: dart format -o none --set-exit-if-changed .
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -151,3 +151,9 @@ modules.xml
**/flutter_export_environment.sh

/example/ios/Flutter/Flutter.podspec

packages/**/pubspec_overrides.yaml
./pubspec_overrides.yaml
/example/pubspec_overrides.yaml

coverage/
58 changes: 58 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,61 @@
# Change Log

All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

#### 3.0.0 *March 2025*

- Graduate package to a stable release. See pre-releases prior to this version for changelog entries.

#### 3.0.0-beta.2 *May 2023*

- Several Breaking Changes. See the [migration guide](https://github.com/Sub6Resources/flutter_html/wiki/Migration-Guides#300)

- **FIX**: start list items on a new line ([#1281](https://github.com/sub6resources/flutter_html/issues/1281)). ([496d1aa8](https://github.com/sub6resources/flutter_html/commit/496d1aa8e655891d2f597c5e4d7e92057801d815))
- **FIX**: Add "display: Display.block" to table ([#1278](https://github.com/sub6resources/flutter_html/issues/1278)). ([6350f023](https://github.com/sub6resources/flutter_html/commit/6350f02354b7de601ce294123717e2051be97eee))
- **FIX**: improve API for ExtensionContext and export marker.dart ([#1273](https://github.com/sub6resources/flutter_html/issues/1273)). ([27e33a95](https://github.com/sub6resources/flutter_html/commit/27e33a955e872d47306db9480f74f6da2e9a028a))
- **FIX**: Cleaned up whitespace processing and added whitespace tests ([#1267](https://github.com/sub6resources/flutter_html/issues/1267)). ([cc00406b](https://github.com/sub6resources/flutter_html/commit/cc00406b1d0c115e5c66dd4bdfb40db32496f55f))
- **FIX**: a tag should not style as link if href is not provided ([#1265](https://github.com/sub6resources/flutter_html/issues/1265)). ([d7247cb3](https://github.com/sub6resources/flutter_html/commit/d7247cb303c25d0011f85f9b2d3687924de3d83d))
- **FEAT**: Update CssBoxWidget to handle rtl marker boxes ([#1270](https://github.com/sub6resources/flutter_html/issues/1270)). ([d7091990](https://github.com/sub6resources/flutter_html/commit/d7091990d193e892e2f782ac8d91fc0326aff4bc))
- **FEAT**: support vertical-align in inline styles ([#1266](https://github.com/sub6resources/flutter_html/issues/1266)). ([fe896de5](https://github.com/sub6resources/flutter_html/commit/fe896de5ed8b79425bb33800a26fa4ac328057fe))
- **FEAT**: Add WrapperExtension helper ([#1264](https://github.com/sub6resources/flutter_html/issues/1264)). ([2ffa1dda](https://github.com/sub6resources/flutter_html/commit/2ffa1ddabb3f2a660ab85c551255b89fe8a24ab5))


#### 3.0.0-beta.1 - *May 2023*

- Several Breaking Changes. See the [migration guide](https://github.com/Sub6Resources/flutter_html/wiki/Migration-Guides#300)

- **FIX**: Aspect ratio exception when height is 0 ([#1222](https://github.com/sub6resources/flutter_html/issues/1222)). ([ed75f8fe](https://github.com/sub6resources/flutter_html/commit/ed75f8fef779e920ecc1f27719a4150a29e3ebee))
- **FIX**: Fix issue with font scaling introduced in 3.0.0-alpha.6 ([#1173](https://github.com/sub6resources/flutter_html/issues/1173)). ([c75e0dfb](https://github.com/sub6resources/flutter_html/commit/c75e0dfb1be6cb79748f719487043d12bc330c60))
- **FIX**: Fix various issues with list rendering. ([520ff3c3](https://github.com/sub6resources/flutter_html/commit/520ff3c326d5dc8f5a601022c2a32d58e2e83cbb))
- **FIX**: Apply margins to <table> properly. ([7581ea79](https://github.com/sub6resources/flutter_html/commit/7581ea798744b2830affaaf75bbdff016b03f7af))
- **FIX**: Use enum instead of const int internally in length.dart. ([9dc7f08c](https://github.com/sub6resources/flutter_html/commit/9dc7f08ca238ff6a93314be5de716ad4e3baebb8))
- **FIX**: Change CSSBoxWidget to CssBoxWidget. ([a62449a7](https://github.com/sub6resources/flutter_html/commit/a62449a77c18701a0faf8ffd650f9c535b2d006c))
- **FEAT**: Support mmultiscripts. ([#1175](https://github.com/sub6resources/flutter_html/issues/1175)). ([a999a300](https://github.com/sub6resources/flutter_html/commit/a999a30027eff0aabb2825ffdbe383f9affab7f6))
- **FEAT**: Support mfenced. ([#1174](https://github.com/sub6resources/flutter_html/issues/1174)). ([9ca23084](https://github.com/sub6resources/flutter_html/commit/9ca230848beb15332f96294083ed4989831130d7))
- **FEAT**: Upgrade list-style-type to CSS3. ([deb726ae](https://github.com/sub6resources/flutter_html/commit/deb726ae2776f45305026c0aa081d4a5b5a1c71d))
- **FEAT**: Support mtable, mtd, mtr for draw matrix. ([#1164](https://github.com/sub6resources/flutter_html/issues/1164)). ([e99e2cc1](https://github.com/sub6resources/flutter_html/commit/e99e2cc1553ab17b4ceff08f784e99283b28dff4))

## 3.0.0-alpha.6 - *September 2022*

- **FIX** #731 Resolve newline `<br>` issue
- **FIX** Align the baseline of inline content with the baseline of its parent flow, even if it has padding or borders
- **FIX** Improved fontSize inheritance when cascading styles
- **FIX** `auto` margins now work for any `Display.BLOCK` element.
- **FIX** `auto` width and height is now the default, rather than `null`
- **FIX** New CSSBoxWidget that handles calculations of child sizes for a more accurate HTML/CSS layout
- **BREAKING** New `Margin`, `Height`, and `Width` classes that allow `em`, `rem`, `px`, `auto`, and `%` values to be given
- **FEAT** Negative margins are now allowed
- **FIX** Updated default `p` and `h1-6` styles to use `em` for better font scaling
- **BREAKING** Package now requires Dart sdk >= Dart 2.17
- **FIX**: Apply margins to <table> properly. (7581ea79)
- **FIX**: Use enum instead of const int internally in length.dart. (9dc7f08c)
- **FIX**: Change CSSBoxWidget to CssBoxWidget. (a62449a7)
- **FIX**: fix textShadow color declaration handler. (77ffe7cb)
- **FIX**: ol use default style. (1c2412a2)
- **FIX**: Crash when a tr tag includes text node. (ba8301c9)
- **FEAT**: exposes fontFamilyFallback parameter. (1d65aafd)

## [3.0.0-alpha.5] - June 9, 2022:
* Fixed hot reloads, thanks @arjenmels
* Fixed link taps not working
Expand Down
7 changes: 1 addition & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
Thanks for your interest in contributing to `flutter_html`!

I'm pretty busy, so in order to help me best make use of the time I spend working on this project, please adhere to the following guidelines when contributing:

1. In general, don't submit a pull request without discussing the feature with me, in an issue, first. I don't want you to have to do a whole bunch of work for nothing. This also makes it so there won't be a whole bunch of changes I make you do in order to have your pull request merged.
2. Please read the [wiki](https://github.com/Sub6Resources/flutter_html/wiki) before contributing (there are only two pages at the moment). This will give you an idea of what my plans are for this repository, and what you do and don't need to work on.

More specific guidelines will be added soon.
Please see the contribution guide in the wiki: https://github.com/Sub6Resources/flutter_html/wiki/Contributing
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019-2022 The flutter_html developers
Copyright (c) 2019-2025 The flutter_html developers

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading