首页 > 解决方案 > 无法提取对封闭类方法的引用。代码:-32011。提取小部件表单时出现颤振错误

问题描述

无法提取小部件表单。它给出了
[Error - 1:02:18 pm] Request workspace/executeCommand failed。
消息:无法提取对封闭类方法的引用。
代码:-32011

Column(enter code here
          children: [
            SizedBox(
              width: 300,
              height: 350,
              child: isAccountClicked != true
                  ? Container(
                    child: Form(
                        key: _globalKey,
                        child: Column(
                          children: [
                            Padding(
                              padding: const EdgeInsets.all(15.0),
                              child: TextFormField(
                                controller: _emailTextController,
                                decoration: BuildInputFieldDecoration(
                                    'Enter email', 'example@email.com'),
                              ),
                            ),
                          ],
                        ),
                      ),
                  )
                  : Text(''),
            ),
          ],
        ),

标签: flutterdart

解决方案


小部件的自动提取不起作用,手动进行。


推荐阅读