13 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
27
views
How to resolve this bug: RequestFocus doesnt work in flutter
I have a problem that when I enter a page the keyboard is displayed for a second and then hidden, what could this be related to?
@override
void initState() {
super.initState();
WidgetsBinding....
0
votes
0
answers
59
views
Problem with Focus widgets behavior in flutter
I am developing an app for Android TV using flutter. I am currently working on the login page which has three widgets. I wrapped the form widget with a FocusableActionDetector Widget.
This the ...
0
votes
1
answer
193
views
Flutter - Autofocus
I have three screens to navigate and second screen should get the autofocus on one TextFormField. Somehow my keyboard didn't want to close when I switched screen. Also tried with FocusNode and when I ...
1
vote
0
answers
205
views
How to automatically restore focus to the previously focused TextField when bringing application from background to foreground in Flutter
Currently, when I focus on the input (keyboard is activated) and send my app to the background and then bring it back to the foreground, the focus becomes unfocused (keyboard is deactivated).
I've ...
0
votes
1
answer
58
views
How to fix exception on back-arrow navigation arising after implementation of FocusNode?
Firstly, my dropdown menu height was not being adjusted to the space left by the occupancy of the onscreen popup keyboard, which is now solved in my older questions. The solution made use of FocusNode ...
0
votes
0
answers
248
views
Flutter web shows different focus behavior on Android and iOS
Below is a simple Flutter application containing basically a Row with
a TextField
an ElevatedButton (wrapped in a TextFieldTapRegion)
When selecting the TextField, I see a blinking cursor and an ...
1
vote
1
answer
142
views
How to focus the next field?
I have a page with several text fields, I used FocusTraversalGroup so the fields are focused in the desired order when pressing tab. See:
Now, when I click on the icon button next, I want to send the ...
0
votes
1
answer
115
views
Flutter, change the size of text entered by the user in the TextFormField
Helo boys and girls! I would like to change the size of the text that the user enters into the TextFormField field. This is the moment when the user clicks on the field and starts typing something. I ...
0
votes
1
answer
257
views
FocusNode does not trigger when first time add to the widget with if statement
I have some logic to check if statement and show the TextField widget as below:
Flexible(
fit: FlexFit.loose,
child: ListView.builder(
...
2
votes
1
answer
531
views
TextFormField focuses automatically when a DatePicker dialog is closed
I am filling the TextFormField form a Date Picker using showDatePicker method which is called when the TextFormField got focus. The focus change in the TextFormField is identified using the focus node....
0
votes
1
answer
60
views
How to avoid BottomBar to close and result in disposing soft keyboard
When the keyboard opens, it might be causing the bottom sheet to close, which will then result in disposing any widgets inside it.
globals.addinfolistitem[widget.shotlistindex]
...
1
vote
1
answer
359
views
"has Size" Error when the textfield is focused
I am having a fixed AppBar() and BottomNavigationBar() and only changing the body for whole Application.
To achieve this I have used the builder: property in the MaterialApp() Widget.
Now when I tap ...
0
votes
1
answer
2k
views
Flutter TextField how to detect that the text field was unfocused but not submitted?
I want to use a TextField to allow the user to rename an item in the app. I would like for the new item name to be saved if the user presses the 'done' button on the keyboard but I would also like for ...