vedartm / paginate_firestore

A flutter package to simplify pagination with firestore data 🗃
https://pub.dev/packages/paginate_firestore
MIT License
113 stars 136 forks source link

Circular progress doesn't disappear #71

Closed itssidhere closed 3 years ago

itssidhere commented 3 years ago

when we use where clause in the query and the collection has only one document. The circular progress indicator at the end doesn't disappear.

My config

` Column( children:[ Container (height: 200), Expanded( child:PaginateFirestore(shrinkWrap:true)

]

) `

anilmuppalla commented 2 years ago

@itssidhere What was the solution, this is happening to me as well

itssidhere commented 2 years ago

@anilmuppalla I can't recall exactly but i think the issue was related to creating an index in the firestore. You must have an index corresponding to your where clause

anilmuppalla commented 2 years ago

perfect! thank you!