[英]How to add “.com” button to the keyboard with InputField widget
I need the device keyboard to show [.com]
option when the InputField opens the keyboard.当 InputField 打开键盘时,我需要设备键盘显示[.com]
选项。
I tried with TextInputType.url/emailAddress/text but they only show the [.]
option.我尝试使用 TextInputType.url/emailAddress/text 但它们只显示[.]
选项。
I am wondering is there a solution to show [.com]
option as well.我想知道是否也有显示[.com]
选项的解决方案。
What you want is the behavior on iOS for TextInputType.url
:您想要的是 iOS 上TextInputType.url
的行为:
Unfortunately, I think the behavior on android for TextInputType.url
is to show the default one:不幸的是,我认为TextInputType.url
在 android 上的行为是显示默认值:
I don't think you can change this behavior for Android.我认为您不能为 Android 更改此行为。 Also, users are used to it.而且,用户已经习惯了。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.