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

Flags fail to load #51

Closed
StefanSpeterDev opened this issue May 20, 2020 · 11 comments
Closed

Flags fail to load #51

StefanSpeterDev opened this issue May 20, 2020 · 11 comments

Comments

@StefanSpeterDev
Copy link

Hey!

Thanks for the package!
Everything is working as expected, except for the differents assets that fail to load. I gave you a screenshot of the error I'm getting, it seems to be having issues with the ImageProvider as you can see.
image
Any idea if you can fix it ? Or if it's possible to turn off the images ? I don't really need them anyway

thanks!

@natintosh
Copy link
Owner

Hello @stefanyyc thanks for raising this issue, I will check it out and get back to you as soon as I can.

@StefanSpeterDev
Copy link
Author

Just tried on another project and it worked there so its kinda weird

@natintosh
Copy link
Owner

Have you tried flutter clean

@StefanSpeterDev
Copy link
Author

I will try this out!

@natintosh
Copy link
Owner

Hi @stefanyyc, any progress so far?

@StefanSpeterDev
Copy link
Author

Hi @natintosh , looks like it works for now!
Do you know how I can correct the height when the field isn't completed ?
image
It looks great once its fulfilled as you can see
image
The diff can be slight to nice but the flag and the +33 aren't aligned exactly compared to the second screen

@natintosh
Copy link
Owner

Could you please code snippet for me to look into it as I am not completely sure what happened

@vanshg395
Copy link

I am facing same issue, this was not getting fixed so I made my own phone field. You can use it from here until this is fixed.

https://pub.dev/packages/intl_phone_field

@StefanSpeterDev
Copy link
Author

@vanshg395 Works like a charm!

@natintosh
Copy link
Owner

@stefanyyc, It seems as if you had a kind of validation error which most likely caused the alignment to be off

Without Validation Error With Validation Error
Screenshot_1587652933 Screenshot_1587652933

@natintosh
Copy link
Owner

Hi, @stefanyyc I just pushed an update to my repo that fixes the alignment issue. Thanks for raising this issue, I really appreciate this.

Update
Screenshot_1587652933

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

No branches or pull requests

3 participants