Questions tagged [flutter-textinputfield]

88 questions
0
votes
2 answers

I am new to programming can someone help me what's the problem here, I was doing a login page and this happens

If password and username is same, I want to print 'username and password is same' statement in the terminal .But it is only printing the second statement 'username and password does not match even if username and password is same or not . I don't…
Aman7471
  • 1
  • 1
0
votes
0 answers

How to disable Flutter DatePicker?

I have an issue with DatePicker in my application. Here's a simple TextFormField that I've created in my app which will open up DatePicker whenever the user taps on it. This widget is a part of a form where I also have specified the GlobalKey and…
0
votes
1 answer

can't change textfield value inside future builder flutter

i want to fetch data from api and set it as text field initial value, then after user changes it i will post it to another api, but after changing textfield value, future builder rebuilds and textfield gets back to initial value, here is my…
0
votes
1 answer

multi-boxes Textfield in flutter

How can I create Textfeild with multi input boxes, same like in picture with controller
husam
  • 33
  • 1
  • 6
0
votes
1 answer

How do I center the posts in the widget I created?

TextField textWidget(String text, IconData icon, bool isPasswordType, TextEditingController controller, TextAlign align) { return TextField( controller: controller, obscureText: isPasswordType, enableSuggestions: !isPasswordType, …
ckot
  • 263
  • 1
  • 11
0
votes
2 answers

How to edit text field and save in controller?

I have edit form where some data in text fields controller from database but when I edit or change the test of any text field it doesn't change the value of text field give it me same value which comes from database i can't change the textfiled…
0
votes
1 answer

Screen goes blank if I search for something in TextField that is out of my list

I have created a list in another directory which is a list of JSON data and I have showed it on screen and also added a TextField which works as a search bar. it works fine if I search for a letter(or combination of letters) that is inside my list…
0
votes
1 answer

I want to hide my keyboard in all situations

I am making a barcode scanning application and I am making this application to work on handheld terminals as well. If the user presses the read key on the hand terminal, the return value will be filled into the textfield. I want to not see this and…
0
votes
1 answer

Submit data/trigger function when modalsheet is closed

I'm using a modal sheet with a TextEditingController and a TextField to allow the users to make inputs. When the user submints (presses enter on the keyboard), a function is triggered, the data collected and everything works perfectly. But: If the…
Joe
  • 311
  • 3
  • 17
0
votes
0 answers

InputTextField Focus Node working in reverse manner

I wrote code for custom keyboard in Scaffold and set keyboardType: TextInputType.none to close the default keyboard. The code is working but opposite to expected behavior. When I am focusing on TextField Keyboard disappears and when I am out of…
0
votes
1 answer

How to stack cursor textfield over keyboard on Flutter?

How to solve this error?, i want to stack cursor tetxfield over keyboard. Actually result I want the result like this I tried used stack widget but it's not work. My source Code Stack( children: [ const Positioned.fill( …
0
votes
2 answers

Make some parts of TextField Editable

So I have this unique requirement as shown in the picture below, where the blue texts are user inputs. I have been doing my own research regarding this and have found a few viable solutions, out of which a custom TextEditingController seems most…
0
votes
1 answer

Why is my Textfield cursor shows on start position of existing Text when refocus

Why does the cursor shows up at the beginning of the existing text, instead of the position where the user taps, when I re-edit my TextField. This happens when you unfocus the textfield then refocus on it again. Example code: class Mypage extends…
0
votes
3 answers

TextFormField Value to TextField New Line

I have a question. I want to send the return(returnvalue1...2...3) output from TextFormField to a TextField. I want it to append each output to newline without clearing the TextField. How can I do that? Thank you for your help. TextFormField…
0
votes
2 answers

Flutter TextFormField focused border color

This is my theme: final ThemeData theme = ThemeData(); return MaterialApp( title: 'Notes', home: SignInPage(), debugShowCheckedModeBanner: false, theme: theme.copyWith( primaryColor: Colors.green[800], …