Description
我的flutter版本 3.24. 3
ios 原键盘 9宫格输入
我按下 wxyz 和 tuv后 选择 xu后 在按下 abc 后。 输入框里面xu就上去了 我在微信上使用苹果输入法 同样的 我按下 wxyz 和 tuv后 选择 xu后 按下 abc 在微信的输入框里面显示 xu'a 在输入法上面显示 徐啊 而我的 app 则是 xua 输入法 上面没有文字
My Flutter version 3.24. 3
ios original keyboard 9 grid input
I press wxyz and tuv and then select xu and then press abc. Xu goes up in the input box. I use the Apple input method on WeChat. Similarly, I press wxyz and tuv, select Xu, and then press abc. Xu'a is displayed in the WeChat input box. Xu ah is displayed on the input method. My app is the Xua input method. There is no text on it.
代码:
Container(
padding: EdgeInsets.only(left: 25.w, top: 10.h, bottom: 10.h),
color: const Color(0xffffffff),
child: TextField(
controller: _controller,
onChanged: (text) {
nickName = text;
print(nickName);
setState(() {});
},
decoration: const InputDecoration(
hintText: '请输入新昵称',
border: InputBorder.none, // 隐藏下划线
),
inputFormatters: [
InputFilterFormatter(),
LengthLimitingTextInputFormatter(8)
], //
),
)