Questions tagged [flutter-textinputfield]
88 questions
1
vote
1 answer
How can split the text form field in order to type vehicle number that consist of letters and numbers
How I can input the text in the SplittedBox of TextFieldForm,
which consist of letters and numbers?
here is my source code:
Container(
color: Colors.grey[200],
padding: EdgeInsets.all(20),
child: Column(
mainAxisSize: MainAxisSize.min,
…

Bhavya N
- 13
- 6
1
vote
1 answer
Using TextEditingController live changes in Text widget
I am learning Flutter and trying now to monitor the changes on a TextEditingController. I can monitor it, using a listener function, but I cannot use the variable in a Text widget:
class _TestPageState extends State {
var _textName =…

senseiwa
- 2,369
- 3
- 24
- 47
1
vote
4 answers
Not able to remove focus from input field
I have four textfields, a title field, a details field, a date field, and a time field. Both the date and time fields are wrapped within a gesture detector, and onTap calls a pickDateAndTime method. The problem is that when I click on the date field…

Rohith Nambiar
- 2,957
- 4
- 17
- 37
1
vote
2 answers
how to set textfield width based on it's text in flutter
I want to size the textfield based on text length...while typing it's length should be changed according to text..I was suggested to use IntrinsicWidth but its not working..
Container(
height: 300,
decoration:…

Irfan Ganatra
- 967
- 3
- 13
1
vote
1 answer
Textfield clear button not updating state
I have a container that's wrapped within a gesture detector and within the container two text-fields which on clicked will show the time selector and date selector widgets consecutively. I added a clear button next to the date field and on tap it…

Rohith Nambiar
- 2,957
- 4
- 17
- 37
1
vote
2 answers
How to check if TextFormField is empty
I want to create a LoginPage for my App. I don't want to use a firebase so i tried to fake the login with a validator.
First I want to check, if E-Mail and Password is filled with something. Otherwise the Login-Button shouldn't do anything.
If…

Jamila
- 11
- 1
1
vote
1 answer
flutter Enter event not found on zebra tc77?
We need to scan using zebra tc77 but enter event not found at the end of text , even after we have enabled enter key at settings?
_onChangeListener(String val) {
if(val.isEmpty) return;
…

Kokila
- 242
- 1
- 13
1
vote
1 answer
Flutter Bottom Overflow on custom bottom sheet
You can see the problem here (I turned on flutter inspector gridlines so you can see the problem better)
Overflow disappears when I wrap my Container inside Expanded,
but then my search bar height is just stretching and it isn't good. Tried to use…

Gryva
- 297
- 1
- 11
1
vote
2 answers
when i typing in flutter textfield it type in backward direction how to solve it?
I have one page of technical skill and I want to add new textfield on onatap and get the value of it and remove that skill on ontap of delete button and this is working now but only problem was that the when i am typing in textfield its typing in…

Akashptl
- 33
- 2
- 8
1
vote
1 answer
How to make search and text in row in Flutter?
I have tried to make it in the row, but then I don't have anything in the screen.
How do you solve it in Flutter?
appbar
@override
Widget build(BuildContext context) {
return Padding(
padding: const EdgeInsets.symmetric(vertical: 20,…

Chris
- 63
- 6
1
vote
2 answers
Flutter TextFormField active color while not in focus
I would like the colour of a text field to remain active even if it is no longer in focus.
Here you can see the problem. If i unselect the TextFormField, the color of the icon and the underline changes.
I hope you can help me. Thank you!

Hans Ranger
- 23
- 3
1
vote
2 answers
Is it possible to create a text field phone number mask which is not disappearing when user inputs, in flutter?
Is it possible to create phone number mask like this in flutter: mask example
When user input numbers, mask is staying, and numbers of the mask are replacing with user's input.

shamiwizard
- 13
- 3
1
vote
1 answer
Letter spacing in Arabic language
I am working on a Flutter mobile app. What I want to achieve is to separate characters in a TextFormField using the letterSpacing the property.
Letter spacing works correctly in English language. The problem is when I use Arabic characters letters…

Waxren
- 2,002
- 4
- 30
- 43
1
vote
0 answers
Spaces between stars (*) in hidden password are not uniform
Any idea why the spaces between the stars in the hidden passwords are not uniform? Is it doing some kind of grouping? Any thoughts on how to make it uniform?
Here is the code snippet,
TextField(
key: const ValueKey('text_field'),
…

Tapas Pal
- 7,073
- 8
- 39
- 86
1
vote
1 answer
Flutter -Is creating global form state key is expensive?
I am working with an application where I have multiple screens having input fields. I have to create multiple global form state key to validate each screen's form.
I heard that accessive use of global keys is not recommended. Is this true then how…

Ranjit Shrestha
- 622
- 6
- 24