Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/dart/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Flutter 最近是否有人体验过颤振TextFormField键盘类型无法正常工作?_Flutter_Dart_Flutter Layout - Fatal编程技术网

Flutter 最近是否有人体验过颤振TextFormField键盘类型无法正常工作?

Flutter 最近是否有人体验过颤振TextFormField键盘类型无法正常工作?,flutter,dart,flutter-layout,Flutter,Dart,Flutter Layout,最近有人遇到过颤振键盘类型的问题吗 我正在尝试在TextFormField上使用TextInputType.emailAddress。它有自己的控制器 无法选择电子邮件符号“@”和任何其他特殊字符 TextFormField( controller: _loginController, autocorrect: false, //cursorColor: scaf

最近有人遇到过颤振键盘类型的问题吗

我正在尝试在TextFormField上使用TextInputType.emailAddress。它有自己的控制器

无法选择电子邮件符号“@”和任何其他特殊字符

 TextFormField(
                      controller: _loginController,
                      autocorrect: false,
                      //cursorColor: scaffoldFontColor,
                      style: TextStyle(color: scaffoldFontColor),
                      keyboardType: TextInputType.emailAddress,
                      textAlign: TextAlign.left,
                      onChanged: (value) {
                        email = value;
                      },
                      decoration: InputDecoration(
                        hintText: 'E-mail address',
                      ),
                      validator: (value) {
                        if (value.isEmpty || !value.contains('@')) {
                          return 'Invalid email address';
                        }
                      },
                    ),
我已经运行并重新启动了几次应用程序

这可能是iOS的问题还是内部颤振

我现在无法直接登录帐户

TextFormField(
      key: _emailKey,
      keyboardType: TextInputType.emailAddress,
      textInputAction: TextInputAction.done,
      autofocus: true,
      validator: (val) {
        if (val.trim().isEmpty) {
          return "Enter Email Address";
        } else if (!TextUtils.isValidEmail(val)) {
          return "Enter valid email address";
        } else {
          email = val;
        }
        return null;
      },
      onFieldSubmitted: (val) {
        if (_emailKey.currentState.validate()) {
          _emailKey.currentState.save();
          email));
        }
      },
      onSaved: (val) {
        email = val;
      },
      decoration: InputDecoration(
        border: OutlineInputBorder(),
        hintText: 'E-Mail',
      ),
    );
试试看


试试看

你能给我们看看代码吗?我只是查看了一些我有的表格…它们都有相同的问题…没有一个键盘显示特殊字符…不是iOS…iOS很好,我得到了相同的东西。你找到解决方案了吗?是的,解决方案是将flutter升级到最新版本你能给我们看看代码吗?我只是查看了一些表格,它们都有相同的问题…没有一个键盘显示特殊字符…不是iOS…iOS很好我得到了同样的东西。你们找到解决办法了吗?是的,解决办法是将颤振升级到最新版本