gpt4 book ai didi

flutter - 如何使用 flutter 禁用键盘中的表情符号按钮

转载 作者:行者123 更新时间:2023-12-04 13:57:28 28 4
gpt4 key购买 nike

我想禁用 Android 键盘上的表情符号按钮。
tt

最佳答案

我还想在我的应用程序中禁用键盘中的表情符号按钮,因此我通过在 TextField 中添加 keyboardType: TextInputType.visiblePassword 来实现这一点。

TextField(
keyboardType: TextInputType.visiblePassword,
textInputAction: TextInputAction.done,
showCursor: true,
style: Theme.of(context).textTheme.bodyText1,
decoration: InputDecoration(border: InputBorder.none)
)

关于flutter - 如何使用 flutter 禁用键盘中的表情符号按钮,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59173194/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com