Open raphFlash opened 5 years ago
Currently that is not possible. Text
and TextField
are two different widgets so we would need a AutoSizeTextField
. I'll leave this issue open and when other users need have the same request, I'll see what I can do 👍
Same here! Needed it always in every project ^^
I'm really unsure about this. Afaik neither iOS nor Android have an equivalent native EditText with auto sizing text. And I have never used an app where text resizes while I enter it...
Alright and what about a textfield like facebook, where you type text for a post? Facebook is shrinking the text size while typing. That's exactly what i need. I mean it's like the tutorial gifs you provide in your readme. I did a workaround for that posting issue, but autosizetext would help here a lot :)
I needed something like this too. I have an interface where all of the on the screen text is editable to certain roles and instead of switching them between Text
and TextField
, I instead only display TextField
s with their readOnly
properties toggled.
Currently, I feel like switching from AutoSizeText
to a TextField
would also give the person editing a different impression since their text would size differently once they'd submitted.
Okay, you convinced me ^^
I don't know when I will have time to implement this.
Agreed! Would be great to have it for TextField and TextFormField!
Does anyone know if it is possible to adjust the text in the text field?
@leisim any updates?
Hi @Nolence @Ahmadre @raphFlash @leisim , I want it too so I created one.
🎉 You might want to try this: https://github.com/lzhuor/auto_size_text_field
It's a work based off @leisim 's logic in auto_size_text
. Hope we can improve auto_size_text_field
together. ❤️
@lzhuor thank you sooooo much ❤️
Hello, Thanks for your AutoSizeText, it works really well. Is it possible to have the same auto sizing feature for a TextField. The Textfield would adjust the fontsize based on the input. It would be really nice.