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

How to add hint text ? #4

Closed
HiteshDevganiya opened this issue Jun 16, 2020 · 2 comments
Closed

How to add hint text ? #4

HiteshDevganiya opened this issue Jun 16, 2020 · 2 comments

Comments

@HiteshDevganiya
Copy link

No description provided.

@santa112358
Copy link
Owner

santa112358 commented Jun 16, 2020

@HiteshDevganiya
In the current version, HashtagEditableText is EditableText, so it doesn't have hintText.

If you need to use hintText now, you need to use Stack() whose children are Text() and HashtagEditableText().

Text() has to be hidden when HashtagEditableText() is not empty. You can listen if content is empty in onChanged(text){}

I will try to update the package to add hintText next holiday, by using the method above.
Thank you for creating issue!!!

@santa112358
Copy link
Owner

@HiteshDevganiya
I just uploaded hashtagable 0.0.7. In this version, you can add hintText in HashTagEditableTextWithHIntText()
I hope it will help you !
If you have any problems or questions, please feel free to ask anytime👍

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