-
-
Notifications
You must be signed in to change notification settings - Fork 893
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] can't change text decoration color anymore #1361
Comments
As a temporary fix, overriding dependency_overrides:
flutter_layout_grid: 2.0.4 |
For whatever setting the decoration color for 'body': Style(
textDecorationColor: Colors.blue,
), keeping this open though |
same question |
this issue also happened on my side when we upgraded flutter version from 3.7.12 to 3.16.9. it might be related to this line of code. flutter_html/lib/src/style.dart Lines 369 to 410 in 46a11b1
as you can see when passing style from parent to child, it's missing some parameters such as not sure what side effect will occur when adding that parameters. |
Is it planned to fix this issue? Downgrading and using a later version of flutter_layout_grid doesn't work anymore with the latest version of flutter. |
I have created a fix for this issue with a forked version by enabling the alpha-6 version for the current Flutter version after migrating to Material 3.
Now you should be able to see the TextDecorations as before, after you have changed the code so it aligns with alpha-6 again! |
Cascade text decoration attributes color, thickness and style in addition to the textdecoration itself. fixes: Sub6Resources#1361
Similarly to my last comment here: #1357
I think I've found a regression in regard to text decoration
After upgrading from alpha6 to beta2 it's not possible to change text decoration color anymore
alpha6:
beta2, code unchanged but also tried using style directly, same result:
The text was updated successfully, but these errors were encountered: