我正在嘗試從 fbfirestore 獲取檔案快照作為串列
FirebaseFirestore.instance
.collection("groups")
.doc(groupId)
.snapshots(),
這是快照
Text((snapshot.data as DocumentSnapshot)['members']),

uj5u.com熱心網友回復:
像這樣試試。
Text((snapshot.data as DocumentSnapshot)['members'][0]),
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/494743.html
上一篇:Dart中的建構式Null安全性
