-
-
Notifications
You must be signed in to change notification settings - Fork 896
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Html crash when used inside a DataTable #1459
Comments
I have also encountered the same problem. When will the branch that solves this problem take effect? |
You can directly add the branch commit inside your pubspec.yaml instead of the official version. |
I 've restarted the project and it's still the same. Because my HTML text contains mathematical formulas and tables, and the tables also contain mathematical formulas, the tables have row merging or column merging. And I found that the error message of the flutter_html_fork plug-in is in the error message, which should be caused by the problem of flutter_html_fork. |
Please use commit (more secure, else if I force push i can hack you) and put it inside direct project dependencies (not dependency_override, as this section is used to override package used by your dependencies, as you override a dependencies it will not work) : dependencies:
flutter_html:
git:
url: https://github.com/Sub6Resources/flutter_html.git
ref: ecbeafaee8d6fd40bf9dc60664de6c3b61a7a7b2
|
|
Then use both dependencies & dependency_override with the trick git-url-ref. |
I don't understand how to do this, can you give me an example?
|
dependencies:
flutter_html:
git:
url: https://github.com/Sub6Resources/flutter_html.git
ref: ecbeafaee8d6fd40bf9dc60664de6c3b61a7a7b2
dependency_override:
flutter_html:
git:
url: https://github.com/Sub6Resources/flutter_html.git
ref: ecbeafaee8d6fd40bf9dc60664de6c3b61a7a7b2
|
Still the same, |
flutter_html and flutter_math(_fork) are different packages. This PR can't fix flutter_math. |
Yes, this is a problem with the math package |
But flutter_math(fork) is used in flutter_html, so there is no solution |
You can open a PR on the flutter_math repo. |
Can you clarify what I should do? thanks |
You can try to run this code |
Describe the bug:
Code throw when running Html inside DataTable widget.
HTML to reproduce the issue:
Expected behavior:
Want to see my html
Screenshots:
Nothing appear, red screen
Device details and Flutter/Dart/
flutter_html
versions:Stacktrace/Logcat
Additional info:
Flutter 3.27.2
The text was updated successfully, but these errors were encountered: