-
Notifications
You must be signed in to change notification settings - Fork 853
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
Fix: customStyleBuilder is not accumulating styles #2447
base: master
Are you sure you want to change the base?
Conversation
@manudicri can you test if these changes fix your issue? I cannot really reproduce your issue, but i think that, with these changes, it could be fixed. |
typedef CustomStyleBuilder = TextStyle Function(Attribute attribute); | ||
typedef CustomStyleBuilder = TextStyle Function( | ||
Attribute attribute, TextStyle style); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this a breaking change if this is a public API?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mmm... Probably. It's difficult without change the CustomStyleBuilder
. I'm waiting for the response of @manudicri to know if i need to made more changes.
Hi @CatHood0 , |
Description
Fix issue where the
customStyleBuilder
does not accumulate styles when multiple attributes are applied to the same text.Related Issues
Fix #2425