在这种情况下,我要遍历Cloud Firestore集合中的文档,如何获取文档的路径?
children: snapshot.data.documents.map((document) {
return new ListTile(
//want to get the document path here
title: new Text(document.path),
);
显然,您可以访问路径数据,但是我在github上找到的解释非常不清楚https://github.com/flutter/plugins/pull/244
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句