Skip to content

[fix] fix-flutter-html-issues#6

Merged
GabrielSousa02 merged 12 commits into
mainfrom
fix/fix-flutter-html-issues
Apr 11, 2026
Merged

[fix] fix-flutter-html-issues#6
GabrielSousa02 merged 12 commits into
mainfrom
fix/fix-flutter-html-issues

Conversation

@GabrielSousa02
Copy link
Copy Markdown
Collaborator

What?

Fix issues with layout generated for tables.

  • consolidate versions
  • consolidate tests
  • dev: add fvmrc to lock flutter version for development
  • test: update test to reflect code changes
  • build: update package versions
  • feat: improve flutter_html
  • chore: install global FlutterError.onError to catch framework error
  • test: add test for rendering html tables with assets

Why?

Our parsed tables were breaking and not rendering properly.

How?

Upgraded core dependencies and refactored the code to improve UI/UX.
Implemented horizontal scrolling, following common Flutter patterns.
Added a very light custom scroll bar to provide some visual information for
the user to be aware that there's a horizontal scroll in the first place.
Also corrected an error with rendering width with % from html. The flutter_html
library does not parse the % correctly, it parses it as raw pixels, fixed
that problem as well.

Testing?

Automated tests are all passing locally.

Screenshots (optional)

Anything Else?

It was detected that there is an ongoing issue, with the framework/library,
Here's the link which is related
to some issues we were having and was poluting the logs.
Therefore, a filter was added, since the excepctions were not breaking the app,
neither were they affecting build at all.

In the future this needs to be revisited and fixed, then remove the filter.

@GabrielSousa02 GabrielSousa02 merged commit 567f8dd into main Apr 11, 2026
2 of 4 checks passed
@GabrielSousa02 GabrielSousa02 deleted the fix/fix-flutter-html-issues branch April 11, 2026 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant