flutter - 无法提取对封闭类方法的引用。代码:-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(''),
),
],
),
解决方案
小部件的自动提取不起作用,手动进行。
推荐阅读
- algorithm - KMV算法中不同大小的多个K最小值集合的并集
- r - 在闪亮中分组文本输入框
- excel - Excel VBA-如何用科学计数法识别单元格
- java - Kaa Sandbox 未从 Cellmonitor 示例应用程序接收数据
- python - 如何在 Python 中使用二分搜索查找多个值
- javascript - 如何读取 JSON 数组的变量?
- ios - 在 CloudKit Dashboard 中创建自定义记录区域
- html - 有文字环绕图像
- c# - 如何在 Oracle DB 中使用 DataTable(或类似的)
- php - 通过他们在 laravel 中的标签获取帖子