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

adding fillColor & filled to Textfields #26

Open
ink169 opened this issue May 12, 2020 · 2 comments
Open

adding fillColor & filled to Textfields #26

ink169 opened this issue May 12, 2020 · 2 comments

Comments

@ink169
Copy link

ink169 commented May 12, 2020

Hello,
thanks for the component, it is great!
I would like to add these properties to the TextFields

**[fillColor, Opacity, and filled]

InputDecoration(
fillColor: Colors.transparent.withOpacity(0.5),
filled:true,**

can you add it or if i do it on a branch will you merge it into the package? I dont have much experience with contributing!

Thanks :)

Andy ink

@ink169 ink169 changed the title adding fillColor & filled to Texfields adding fillColor & filled to Textfields May 13, 2020
@XanderSelorm
Copy link

XanderSelorm commented Sep 25, 2020

I think you can just wrap the whole InternationalPhoneInput in a container with a decoration. That's how I did mine, and it worked.
See this:
Container( padding: EdgeInsets.symmetric( horizontal: 5), decoration: BoxDecoration( color: Color(color), borderRadius: BorderRadius.circular(5.0), ), child: InternationalPhoneInput(params),)

@ink169
Copy link
Author

ink169 commented Sep 25, 2020 via email

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

2 participants