【问题标题】:How to disable emoji button in keyboard by using flutter如何使用颤振禁用键盘中的表情符号按钮
【发布时间】:2019-12-04 09:54:13
【问题描述】:

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

【问题讨论】:

    标签: flutter dart


    【解决方案1】:

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

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-09-15
      • 1970-01-01
      • 2020-02-09
      • 2023-02-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多