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

Prevent unhandler int exception in color argument #23

Merged
merged 2 commits into from
Oct 4, 2019
Merged

Prevent unhandler int exception in color argument #23

merged 2 commits into from
Oct 4, 2019

Conversation

wemersonrv
Copy link
Contributor

@wemersonrv wemersonrv commented Oct 3, 2019

Add toString() to color settings key, avoiding type exception when uses a hex collor only with numbers like 211915 (#211915).

In example below, collor assumes an int type and will crash with type exception:

flutter_native_splash:
  image: assets/png/startup_splash.png
  color: 211915
  fill: true

wemersonrv and others added 2 commits October 3, 2019 20:04
Add `toString()` to `color` settings key, to prevent type exception when uses a hex collor only with numbers like `211915 (#211915)`.
@henriquearthur henriquearthur merged commit 7ebf1ba into jonbhanson:master Oct 4, 2019
@henriquearthur
Copy link
Collaborator

Thanks!

Available in 0.1.8+3

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