Skip to content
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

Add Tristate method to TextDecoration.State #495

Merged
merged 4 commits into from Nov 10, 2021

Conversation

KingOfSquares
Copy link
Contributor

Felt like a naturally missing piece

@BomBardyGamer
Copy link
Contributor

Wouldn't it also be useful to add a asTriState conversion method, so you can convert a state to its tri state representation?

@kezz
Copy link
Member

kezz commented Nov 3, 2021

Wouldn't it also be useful to add a asTriState conversion method, so you can convert a state to its tri state representation?

I don't think so. This comes back to the reason they aren't the same in the first place. A TriState will never have its values change but a TextDecoration.State might.

@kezz kezz added this to the 4.10.0 milestone Nov 9, 2021
This was referenced Feb 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants