未为类型“ Map <String,dynamic> Function()”定义运算符“ []”。尝试定义运算符“ []”。扑

时间:2020-08-20 15:31:59

标签: firebase flutter google-cloud-firestore

我更新了我的firetore插件,使其更加轻巧 我收到此错误

"message": "The operator '[]' isn't defined for the type 'Map<String, dynamic> Function()'.Try defining the operator '[]'.",

我不知道这里是完整代码

            widget.collectionName.data["name"],
            style: TextStyle(fontSize: 20, fontWeight: FontWeight.bold),

0 个答案:

没有答案