flutter - 顶部有字母和数字的键盘(在 Flutter 中)
解决方案
/// Optimize for passwords that are visible to the user.
///
/// Requests a keyboard with ready access to both letters and numbers.
static const TextInputType visiblePassword = TextInputType._(7);
上面的代码部分来自 text_input.dart 文件。因此尝试以下方法。它可能有效,但不确定:
TextField(
keyboardType: TextInputType.visiblePassword
)
推荐阅读
- vba - 在 MS word 中转换大小写
- mongodb - 带有 MongoDB-4.0 的 Apache Kafka 的官方 MongoDB 源连接器
- r - 刚刚下载了 R 版本 4.0.0 并且无法使用?
- java - 我该如何处理这个错误“在任何可用的数据中心中找不到合适的主机。”?
- vue.js - Route.push 在第二次尝试中无法正常工作
- python - 如何调试由 crontab 执行的 python 脚本?
- java - 粘贴输入时,Java Stream 仅复制第一行
- reactjs - JWT 身份验证令牌未定义
- javascript - VueJS没有在for循环内渲染数据集
- php - 无法安装php包?