fix, android_soft_keyboard_input, maybe flutter 3.13.*

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou 2023-11-16 23:08:09 +08:00
parent d3a33d786d
commit faa4c36956

View File

@ -448,7 +448,8 @@ class _RemotePageState extends State<RemotePage> {
height: 0, height: 0,
child: !_showEdit child: !_showEdit
? Container() ? Container()
: TextFormField( : Container(
child: TextFormField(
textInputAction: TextInputAction.newline, textInputAction: TextInputAction.newline,
autocorrect: false, autocorrect: false,
enableSuggestions: false, enableSuggestions: false,
@ -459,7 +460,7 @@ class _RemotePageState extends State<RemotePage> {
// trick way to make backspace work always // trick way to make backspace work always
keyboardType: TextInputType.multiline, keyboardType: TextInputType.multiline,
onChanged: handleSoftKeyboardInput, onChanged: handleSoftKeyboardInput,
), )),
), ),
]; ];
if (showCursorPaint) { if (showCursorPaint) {