Flutter Firestore paginated query drifts when earlier pages update in real time
Goal Bound a large Firestore collection in a Flutter app and page through it using limit() with startAfterDocument() , while keeping a real-time listener active on the initial page. Constraints Firestore pagination requires a deterministic ordering field backed by a matching index, and startAfterDocument() depends on that order staying identical between page