반응형
TextFormField에 아래의 코드 추가로 해결가능.
onEditingComplete: (){
do {
FocusScope.of(context).nextFocus();
} while (FocusScope.of(context).focusedChild?.context?.widget is! EditableText);
},
https://stackoverflow.com/questions/52150677/how-to-shift-focus-to-next-textfield-in-flutter
How to shift focus to next textfield in flutter?
I am new to Flutter. I am building a form with multiple text inputs using following widgets: Form, TextFormField. The keyboard that appears doesn't show "next" (which should shift the focus to next
stackoverflow.com
반응형
'Flutter' 카테고리의 다른 글
[Flutter] Chrome 사용 시 nodejs서버에서 XMLHttpRequest 오류 발생 (0) | 2022.01.26 |
---|---|
[Flutter] 키보드가 올라오면 발생하는 Bottom overflowed by ?Pixels (0) | 2022.01.12 |
댓글