Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
743 commits
Select commit Hold shift + click to select a range
39d94b0
Merge remote-tracking branch 'upstream/master' into everything
erickok Nov 26, 2021
a81ba31
Fix merge conflict in list markers
erickok Nov 26, 2021
3da05e5
Fix whitespace rendering between list items; fixes #878
erickok Nov 26, 2021
06912e8
Merge branch 'bugfix/878-list-item-whitespace' into everything
erickok Nov 26, 2021
f2b80b1
Handle tables with both colspan and rowspan properly; fixes #889
erickok Nov 26, 2021
7c2c99f
Merge branch 'bugfix/889-irregular-tables' into everything
erickok Nov 26, 2021
2523233
Fix crashing on negative margins (which we do not support); fixes #838
erickok Nov 26, 2021
33242a5
Merge branch 'bugfix/838-negative-margins' into everything
erickok Nov 26, 2021
099f781
Support text transform CSS (#894)
tneotia Nov 26, 2021
59ba29e
Fix bad state no element (#783)
tneotia Nov 26, 2021
fd42bfe
Fix font size issue with nested header and font (#784)
tneotia Nov 26, 2021
9265e1f
Allow iframes to be styled (#836)
tneotia Nov 29, 2021
71998f8
Support changing scroll physics of SelectableText.rich
tneotia Nov 29, 2021
974933e
Merge remote-tracking branch 'tneotia/feature/scroll-physics' into ev…
erickok Nov 29, 2021
574205f
Merge pull request #906 from tneotia/bugfix/iframe-styling
erickok Nov 29, 2021
b6c580e
Merge pull request #903 from tneotia/bugfix/784-nested-header-font
erickok Nov 29, 2021
46006b9
Merge remote-tracking branch 'tneotia/bugfix/784-nested-header-font' …
erickok Nov 29, 2021
f50768a
Merge pull request #902 from tneotia/tanay/bugfix/783-bad-state
erickok Nov 29, 2021
9d2888b
Merge pull request #901 from tneotia/feature/text-transform
erickok Nov 29, 2021
7fd6fb4
Merge remote-tracking branch 'tneotia/feature/text-transform' into ev…
erickok Nov 29, 2021
ab2266e
Prepare 2.2.0 release
erickok Nov 29, 2021
5026bb3
Merge remote-tracking branch 'upstream/master' into feature/release-216
erickok Nov 29, 2021
31eeeff
Merge remote-tracking branch 'upstream/master' into feature/multiplat…
erickok Nov 29, 2021
e1db945
Merge branch 'feature/multiplatform-support' into feature/release-216
erickok Nov 29, 2021
68033b6
Merge pull request #907 from tneotia/feature/scroll-physics
erickok Nov 29, 2021
aec5e5e
Merge remote-tracking branch 'upstream/master' into feature/release-216
erickok Nov 29, 2021
a8467db
Merge remote-tracking branch 'upstream/master'
erickok Nov 29, 2021
678127e
Support alignment on table tag; fixes #856
erickok Nov 29, 2021
9b50a5b
Improve table column bound calculation to take rowspans into account
erickok Nov 29, 2021
8463492
Fix issue where image would keep reloading because we keep trying to …
tneotia Nov 30, 2021
c0cf32d
Revert changes to example
tneotia Nov 30, 2021
7ce59d0
One more revert
tneotia Nov 30, 2021
08a7350
Remove image precache to fix memory issues
tneotia Nov 30, 2021
434edae
Merge branch 'master' of https://github.com/Sub6Resources/flutter_htm…
tneotia Nov 30, 2021
db30797
Overhaul dispose/controllers API (switch to stateful widget to dispos…
tneotia Nov 30, 2021
a51d0c9
Update README
tneotia Nov 30, 2021
3a7e53b
Revamp ruby rendering to support text-based and container-based styling
tneotia Dec 1, 2021
766f21f
build: upgrade deps flutter_svg to v1.0.0
JigneshWorld Dec 6, 2021
1e8b8f0
Fix list spacing render issue displaying a box since low font weight …
erickok Dec 7, 2021
9a47423
Fix #919 by ensuring non-negative insets are used for all margins and…
erickok Dec 7, 2021
fa9367e
Fix css width/height not being applied to table/tr/td; fixes #913
erickok Dec 8, 2021
816e814
Merge pull request #909 from vrtdev/feature/release-216
erickok Dec 8, 2021
c868125
Merge pull request #915 from tneotia/bugfix/image-reload
erickok Dec 8, 2021
c97ed78
Merge pull request #910 from vrtdev/feature/856-table-tag-alignment
erickok Dec 8, 2021
d906120
Merge pull request #911 from vrtdev/bugfix/830-table-rowspan
erickok Dec 8, 2021
2e9f2f0
Merge pull request #923 from vrtdev/bugfix/921-list-tab-char-box
erickok Dec 8, 2021
a3f88ae
Merge remote-tracking branch 'upstream/master' into bugfix/919-negati…
erickok Dec 8, 2021
aa54095
Merge pull request #924 from vrtdev/bugfix/919-negative-paddings
erickok Dec 8, 2021
a38bbd1
Merge remote-tracking branch 'upstream/master' into bugfix/913-tables…
erickok Dec 8, 2021
7064ef7
Merge remote-tracking branch 'upstream/master' into feature/revamp-ru…
erickok Dec 8, 2021
d808e2e
Merge pull request #916 from tneotia/feature/revamp-ruby-rendering
erickok Dec 8, 2021
09b4b37
Prepare 2.2.1 fix release
erickok Dec 8, 2021
179e822
Merge remote-tracking branch 'upstream/master' into bugfix/913-tables…
erickok Dec 8, 2021
ee2528f
Fixed merge conflict
erickok Dec 8, 2021
d5a2751
Merge pull request #926 from vrtdev/bugfix/913-tables-height-width
erickok Dec 8, 2021
4363f8c
Merge branch 'bugfix/913-tables-height-width' into feature/release-221
erickok Dec 8, 2021
b5741ea
Merge pull request #927 from vrtdev/feature/release-221
erickok Dec 9, 2021
a7826b3
Bumped maximum webview_flutter version to 3.0.0
NirmalAriyathilake Dec 9, 2021
c6bee9e
Disable click effect and decoration when a tag have no href attribute
EArminjon Dec 9, 2021
12375ac
Bumped upper webview_flutter version limit to 4.0.0 not included
NirmalAriyathilake Dec 9, 2021
5ba8601
Fix exception on empty video poster
tneotia Dec 9, 2021
e550c99
Merge pull request #940 from tneotia/bugfix/empty-video-poster
erickok Dec 9, 2021
6de34b9
Merge pull request #934 from EA-YOUHOU/Fix/a-tag-no-href
tneotia Dec 10, 2021
13b76f5
Merge branch 'master' of https://github.com/Sub6Resources/flutter_htm…
tneotia Dec 10, 2021
fa5265f
Remove all warnings
tneotia Dec 10, 2021
c6b030e
Merge branch 'master' of https://github.com/Sub6Resources/flutter_htm…
tneotia Dec 10, 2021
ccde72a
Merge latest changes
tneotia Dec 10, 2021
6988ec9
Fix merge issue with marker content
tneotia Dec 10, 2021
742a20c
Re-enable tests
tneotia Dec 10, 2021
e5f667d
Block style elements in table cells (td/th) should not produce block-…
erickok Dec 15, 2021
b5aa467
Merge pull request #632 from tneotia/feature/upgrade-custom-render
erickok Dec 16, 2021
602cc92
Merge pull request #922 from JigneshPatel23/master
erickok Dec 16, 2021
d933faa
Merge remote-tracking branch 'upstream/master' into bugfix/block-elem…
erickok Dec 16, 2021
0829368
Apply block element padding fix in tables to customRender rewrite
erickok Dec 16, 2021
9648c96
Merge pull request #947 from vrtdev/bugfix/block-elements-in-table-cells
erickok Dec 16, 2021
2be7e45
Merge remote-tracking branch 'upstream/master' into webview_flutter_fix
erickok Dec 16, 2021
2f3acc0
Merge pull request #950 from vrtdev/feature/webview-flutter-400
erickok Dec 16, 2021
bf7be3d
Merge remote-tracking branch 'origin/master' into bugfix/audio-video-…
tneotia Dec 16, 2021
db41f46
Merge pull request #622 from tneotia/bugfix/audio-video-disposing
erickok Dec 16, 2021
aa4dde1
Merge remote-tracking branch 'origin/master' into feature/modularization
tneotia Dec 18, 2021
f1decee
Merge changes
tneotia Dec 18, 2021
c39a7f1
Merge branch 'master' of https://github.com/Sub6Resources/flutter_htm…
tneotia Dec 18, 2021
799654a
#944
tneotia Dec 18, 2021
89f4a0b
#942
tneotia Dec 18, 2021
6f09ffa
Slight change to render API and README
tneotia Dec 19, 2021
7486430
Changelog for 3.0.0-alpha.1 release
erickok Dec 21, 2021
63d3ee7
Merge pull request #953 from vrtdev/feature/release-300-alpha
erickok Dec 21, 2021
86a9bac
Merge remote-tracking branch 'tneotia/feature/modularization' into fe…
erickok Dec 21, 2021
fbef3b6
Making a 3.0.0-alpha.2 release with modularized tag support into pack…
erickok Jan 5, 2022
d13ca75
Merge pull request #967 from vrtdev/feature/release-300-alpha2
erickok Jan 6, 2022
d972f6d
add fromElement constructor
andy1xx8 Jan 8, 2022
0e83da0
add fromElement constructor
andy1xx8 Jan 8, 2022
1e0d9fd
add fromElement constructor and merge witth current master
andy1xx8 Jan 8, 2022
c5f396d
Add support for auto horizontal margins
zbarbuto Oct 25, 2021
07dcac0
Fix issue with late initialization error on audio and video widgets
tneotia Jan 11, 2022
ab2a22b
Support non-text content inside ruby tags, e.g. bold, links, etc
tneotia Jan 11, 2022
eb08b01
Auto wrap ruby to new lines when the ruby text is too long
tneotia Jan 11, 2022
b173e44
Support custom font size on rt tag
tneotia Jan 11, 2022
6e2b3aa
Fix top padding when rt has larger font size
tneotia Jan 11, 2022
b0abb3c
Fix issue with whitespace getting deleted inside <body> when surround…
tneotia Jan 12, 2022
d7b564a
Support decimal percentages for font size
tneotia Jan 12, 2022
9adc596
Merge pull request #827 from andy1xx8/contribute_change_doc_to_element
erickok Jan 14, 2022
ed48ee8
Merge pull request #977 from Sub6Resources/bugfix/various-fixes
erickok Jan 14, 2022
b177baa
Fix other instances of bad state no element (#783)
zbarbuto Feb 27, 2022
132446d
Merge pull request #1017 from zbarbuto/master
erickok Feb 28, 2022
1c2412a
fix: ol use default style
wangbax Mar 28, 2022
e0fb909
Merge pull request #1031 from wangbax/master
erickok Apr 13, 2022
283c3af
Don't crash when video ir iframe uses unsupported height/width; fixes…
erickok Apr 14, 2022
6ae1735
Merge pull request #1040 from vrtdev/bugfix/1033-video-size-crash
erickok Apr 14, 2022
ec3ac1c
3.0.0-alpha.3 release
erickok Apr 14, 2022
3b5a3c5
Merge pull request #1041 from vrtdev/feature/release-300-alpha3
erickok Apr 14, 2022
79d10e9
Release 3.0.0-alpha.4 with compilation fix in video support
erickok Apr 20, 2022
35ff307
Merge pull request #1046 from vrtdev/feature/release-300-alpha4
erickok Apr 20, 2022
c1d70ac
Fix commented dependency
michalsrutek Apr 23, 2022
9bf38c2
Fix newlines in table
michalsrutek Apr 23, 2022
6198f14
Remove example test
michalsrutek Apr 23, 2022
45bc470
Fix custom renders in readme
michalsrutek Apr 23, 2022
abfbed6
Merge pull request #1051 from michalsrutek/fix-custom-renders-in-readme
erickok Apr 23, 2022
48d6c17
Merge pull request #1050 from michalsrutek/ms-remove-example-test
erickok Apr 23, 2022
84b01b2
Merge pull request #1049 from michalsrutek/ms-fix-table-newlines
erickok Apr 23, 2022
de0d1f2
Merge pull request #1048 from michalsrutek/ms-fix-commented-dependency
erickok Apr 23, 2022
5a381bc
Fix onLinkTap not being called when no widget (anchor) key is provided
erickok May 19, 2022
77ffe7c
fix: fix textShadow color declaration handler
kaiquegazola Jun 3, 2022
908f4cd
Merge pull request #1077 from kaiquegazola/master
erickok Jun 4, 2022
1d65aaf
feat: exposes fontFamilyFallback parameter
kaiquegazola Jun 4, 2022
4812d83
Merge branch 'Sub6Resources:master' into feature/add-font-family-fall…
kaiquegazola Jun 5, 2022
f9a4503
Fixes dynamic changing of data/documentElement
Jun 6, 2022
47b26af
Merge pull request #1081 from noviocare/am_fix_dynamic_change
erickok Jun 7, 2022
e1bd7ea
Merge pull request #1066 from vrtdev/bugfix/alpha_on_link_tap
erickok Jun 9, 2022
d391e28
Release 3.0.0-alpha.5 with fixed link taps and fixed hot reload
erickok Jun 9, 2022
4225935
Merge pull request #1085 from vrtdev/feature/release-300-alpha5
erickok Jun 9, 2022
03b8702
Fix image source matcher tests so they actually run correctly
Sub6Resources Jun 11, 2022
c3f6f8b
Merge pull request #1086 from Sub6Resources/fix-image-source-matcher-…
Sub6Resources Jun 13, 2022
a1a1cc9
Fix issues brought up by pub.dev score analyzer
Sub6Resources Jun 13, 2022
c797ef8
Merge pull request #1079 from kaiquegazola/feature/add-font-family-fa…
Sub6Resources Jun 14, 2022
9bf0662
Merge pull request #1088 from Sub6Resources/pub-score-fixes
Sub6Resources Jun 14, 2022
196640d
Support inferred mrow for msqrt.
RyosukeFukatani Jul 15, 2022
bb3be56
Merge branch 'master' into feature/auto-margins
zbarbuto Jul 25, 2022
7e08742
Merge pull request #1108 from RyosukeFukatani/fix/inferred_mrow_for_sqrt
Sub6Resources Aug 20, 2022
a6a7dd1
Fix some text rendering issues related to relationship of newlines an…
Sub6Resources Aug 20, 2022
324b03a
golden test trial run
Sub6Resources Aug 20, 2022
ee9f478
Revert golden test
Sub6Resources Aug 20, 2022
65dbe79
Merge pull request #879 from NextFaze/feature/auto-margins
Sub6Resources Aug 20, 2022
d87ef3a
WIP: Add support for different Units and enhance the Margins class
Sub6Resources Aug 23, 2022
65c434d
WIP: Compute margins and cleanup
Sub6Resources Aug 24, 2022
e427ed8
WIP: margin/width processing
Sub6Resources Aug 25, 2022
edc5df2
WIP: Add CSSBoxWidget to clean up box rendering
Sub6Resources Aug 28, 2022
bb9145e
WIP: New CSSBoxWidget bugfixes
Sub6Resources Sep 2, 2022
bcee9b3
WIP: Fix directionality TODO
Sub6Resources Sep 2, 2022
ed75550
WIP: CSSBoxWidget - Render heights correctly
Sub6Resources Sep 2, 2022
32bf16c
Update FontSize definition and fix bugs with CSSBoxWidget
Sub6Resources Sep 6, 2022
aa800e2
Ran flutter format
Sub6Resources Sep 6, 2022
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
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
46 changes: 46 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
name: Bug report
about: Something isn't working as intended
title: "[BUG]"
labels: bug
assignees: ''

---

<!---

Please do not delete this issue template as it helps us organize and easily work on issues!!

NOTE: Before posting, please make sure you have
1. Searched the README
2. Searched the Issues tab for similar bugs
3. Please provide the required information in the template - HTML code and Html widget configuration
--->

**Describe the bug:**
<!--- Please provide a clear and concise description of the bug --->

**HTML to reproduce the issue:**
<!--- Please provide your HTML code below. If it contains sensitive information please post a minimal reproducible HTML snippet. --->

**`Html` widget configuration:**
<!--- Please provide your HTML widget configuration below --->

**Expected behavior:**
<!--- Expected behavior, if applicable, otherwise please delete --->

**Screenshots:**
<!--- Screenshots can be helpful to analyze your issue. Please delete this section if you don't provide any. --->

**Device details and Flutter/Dart/`flutter_html` versions:**
<!--- These details can be helpful to analyze your issue. Please delete this section if you don't provide any. --->

**Stacktrace/Logcat**
<!--- The error stacktrace if applicable, otherwise please delete --->

**Additional info:**
<!--- Any other info relevant to the bug, otherwise please delete --->

**A picture of a cute animal (not mandatory but encouraged)**
<!--- A picture of a cute animal that would nicely complement this bug report.
If you don't have one, please delete, just know we will be a little disappointed ;) --->
27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: Feature request
about: Suggest an idea for flutter_html
title: "[FEATURE]"
labels: enhancement
assignees: ''

---

<!---

Please do not delete this issue template as it helps us organize and easily work on issues!!

NOTE: Before posting, please make sure you have
1. Searched the README
2. Searched the Issues tab for similar feature requests
--->

**Describe your feature request**
<!--- Please provide a clear and concise description of the feature request --->

**Additional context**
<!--- Any other info relevant to the feature request, otherwise please delete --->

**A picture of a cute animal (not mandatory but encouraged)**
<!--- A picture of a cute animal that would nicely complement this feature request.
If you don't have one, please delete, just know we will be a little disappointed ;) --->
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Question
about: Ask a question about flutter_html
title: "[QUESTION]"
labels: question
assignees: ''

---

<!---
NOTE: Before posting, please make sure you have
1. Searched the README
2. Searched the Issues tab for similar questions
--->

Type question here.

**A picture of a cute animal (not mandatory but encouraged)**
<!--- A picture of a cute animal that would nicely complement this question.
If you don't have one, please delete, just know we will be a little disappointed ;) --->
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 .
11 changes: 10 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
.pub-cache/
.pub/
build/

pubspec.lock
# Android related
**/android/**/gradle-wrapper.jar
**/android/.gradle
Expand All @@ -39,6 +39,7 @@ build/
**/ios/**/profile
**/ios/**/xcuserdata
**/ios/.generated/
**/ios/Flutter/.last_build_id
**/ios/Flutter/App.framework
**/ios/Flutter/Flutter.framework
**/ios/Flutter/Generated.xcconfig
Expand Down Expand Up @@ -148,3 +149,11 @@ modules.xml
**/.flutter-plugins-dependencies

**/flutter_export_environment.sh

/example/ios/Flutter/Flutter.podspec

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

coverage/
204 changes: 204 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,207 @@
# 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
* Improvements in README

## [3.0.0-alpha.3] - April 14, 2022:
* Fixed styling not being applied to list item markers
* [video] Fixed crash when iframe or video tags used unsupported/incorrect height or width

## [3.0.0-alpha.2] - January 5, 2022:
* **BREAKING** Full modularization using split packages; see our upgrade guide or use flutter_html_all

## [3.0.0-alpha.1] - December 21, 2021:
* **BREAKING** Reworked custom renders pending full modularation in 3.0.0
* Extended support custom render when using SelectableHtml
* Updated flutter_svg to 1.0.0
* Support flutter_webview 3.x
* Automatic disposal of video and audio controllers
* Fix block elements bottom spacing in table cells

## [2.2.1] - December 8, 2021:
* Allow styling on ruby tags
* Allow width/height/alignment styling on table/tr/td tags
* Prevent images causing rebuilding and leaking memory
* Fixes display of list items on iOS with font weights below 400
* Prevent crash on negative margins or paddings

## [2.2.0] - November 29, 2021:
* Explicitly declare multiplatform support
* Extended and fixed list-style (marker) support
* Basic support for height/width css properties
* Support changing scroll physics of SelectableText.rich
* Support text transform css property
* Bumped minimum flutter_math_fork version for Flutter 2.5 compatibility
* Fix styling of iframes
* Fix nested font tag application
* Fix whitespace rendering between list items
* Prevent crash on empty <table> tag and tables with both colspan/rowspan
* Prevent crash on use of negative margins in css

## [2.1.5] - October 7, 2021:
* Ignore unsupported custom style selectors when using fromCss
* Fix SVG tag usage inside tables
* Properly fix regression in usage of line breaks

## [2.1.4] - October 3, 2021:
* Fix regression in usage of line breaks in body being stripped

## [2.1.3] - October 1, 2021:
* Update minimum versions of dependencies for Flutter 2.5 compatibility
* Extended and fixed support for css shadow
* Fix block tags with explicit whitespace from being stripped

## [2.1.2] - September 2, 2021:
* Allow setting selectionControls with SelectableHtml
* Fix onLinkTap not working with SelectableHtml
* Don't crash when parsing unsupported :hover
* Prevent endless loading when using animated images

## [2.1.1] - July 28, 2021:
* Stable release with all 2.1.1-preview.X changes

## [2.1.1-preview.0] - July 27, 2021:
* Improves hr tag support
* Fixes a leading whitespace issue
* Fixes some crashes with CSS parsing

## [2.1.0] - June 3, 2021:
* SelectableHtml widget (supporting a subset of tags) which allow text selection
* Fixed shrinkWrap to actually shrink the horizontal space
* Support style tags to apply styling from inline css
* Support applying styles from Flutter themes
* Mouse hover on links when using Flutter Web
* Allow custom anchor link tap implementations
* Support additional list styling options
* Fix several minor whitespace issues in text flow
* Fixed specific colspan/rowspan usages in tables
* Fixed whitespace issues around images
* Swallow duplicate ids to prevent crashing the widget
* Fixes crashing tap detection when using both link and image taps
* Updates external dependencies
* Raised minimum Flutter version to 2.2.0

## [2.0.0] - April 29, 2021:
* Stable release with all 2.0.0-nullsafety.X changes

## [2.0.0-nullsafety.1] - April 29, 2021:
* Support basic MathML
* Support inner links
* Supply full context tree to custom render
* Include or exclude specific tags via `tagsList` parameter
* Fixed lists not rendering correctly
* Fixes for colspans in tables
* Fixed various exceptions when using inline styles
* Fixed text decoration not cascading between parent and child
* [BREAKING] support whitelisting tags
* See the README for details on how to migrate `blacklistedElements` (deprecated) to `tagsList`
* Fixed `failed assertion` error when tap-scrolling on any link
* Updated dependencies

## [2.0.0-nullsafety.0] - March 5, 2021:
* Nullsafety support
* Official Flutter Web support
* New features & fixes for lists:
* Support start attribute (e.g. `start="5";`)
* Support RTL direction
* Support setting padding - you can remove the starting padding if you choose
* Fixed unknown character box on iOS when font-weight is below w400
* Upgraded link functions to provide more granular control
* Fixed errors in text-decoration parsing
* Fixed `<audio>` on iOS ("_duration called on null" exception)
* Updated dependencies

## [1.3.0] - February 16, 2021:
* New image loading API
* Image loading with request headers, from relative paths and custom loading widget
* SVG image support from network or local assets
* Support for `<details>`/`<summary>` tags
* Allow returning spans from custom tag renders
* Inline font styling
* Content-based table column sizing
* Respect iframe sandbox attribute
* Fixed text flow and styling when using tags inside `<a>` links
* Fixed issue where `shrinkWrap` property would not constrain the widget to take up the space it needs
* See the [Notes](https://github.com/Sub6Resources/flutter_html#notes) for an example usage with `shrinkWrap`
* Fixed issue where iframes would not update when their `src`s changed in the HTML data
* Updated dependencies for Flutter 1.26+

## [1.2.0] - January 14, 2021:
* Support irregular table sizes
* Allow for returning `null` from a customRender function to disable the widget

## [1.1.1] - November 22, 2020:
* Update dependencies

## [1.1.0] - November 22, 2020:
* Add support for inline styles
* Update dependencies

## [1.0.2] - August 8, 2020:
* Fix text scaling issues
* Update dependencies

## [1.0.1] - August 8, 2020:
* Fixed flutter_svg: ^0.18.0

# [1.0.0]
* BREAKING CHANGES (see the [Migration Guide](https://github.com/Sub6Resources/flutter_html/wiki/1.0.0-Migration-Guide) for a full overview of breaking changes.):
* The default parser has been completely rewritten and the RichText parser has been removed.
Expand Down
Loading