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

26: x_icon null safety compile warning fix #27

Merged
merged 1 commit into from
Aug 9, 2021

Conversation

asdef
Copy link

@asdef asdef commented Aug 9, 2021

Updated icon.dart to add a default case so the section of code with the warnings becomes theoretically reachable, and constructed the style for the returned Text widget in a way that makes the compiler happy.

Updated icon.dart to add a default case so the section of code with the warnings becomes theoretically reachable, and constructed the style for the returned Text widget in a way that makes the compiler happy.
@softmarshmallow
Copy link
Member

Thanks for the PR. LGTM as far. can you confirm that this compiles & ran fine on your local machine?
Sorry: we don't have github actions for testing yet - will get it ready soon :)

@asdef
Copy link
Author

asdef commented Aug 9, 2021

Yes, it runs clean on my box. Fixed it first by tweaking the library directly in my project then replicated them in the x_icon repo.

@softmarshmallow
Copy link
Member

Thanks alot!
I'll publish new ver on pub after few adjustments.

Merging for now. :)

@softmarshmallow softmarshmallow merged commit 3348470 into gridaco:master Aug 9, 2021
@asdef asdef deleted the issues/26 branch August 9, 2021 15:01
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.

2 participants