【发布时间】:2021-02-06 07:46:58
【问题描述】:
dependencies:
flutter:
sdk: flutter
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.2
cloud_firestore:
我配置正确,请帮忙
【问题讨论】:
-
将 cupertino_icons: ^1.0.2 和 cloud_firestore: 放在 pubspec.yaml 文件的不同行中。
-
是的,它在不同的行中
-
您能解释一下您遇到的问题吗?您是否收到了特定的错误消息?
-
prntscr.com/yhu78y 我想使用单个查询搜索firestore,它显示方法'getDocuments' 没有为'Query' 类型定义。有什么帮助吗?
标签: firebase flutter google-cloud-firestore