We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce52582 commit 88632f7Copy full SHA for 88632f7
lib/src/realtime_db_pagination.dart
@@ -234,7 +234,7 @@ class _RealtimeDBPaginationState extends State<RealtimeDBPagination> {
234
235
var latestDocQuery = widget.query.limitToFirst(1);
236
if (_data.isNotEmpty) {
237
- latestDocQuery = latestDocQuery.endBefore(_data.first);
+ latestDocQuery = latestDocQuery.endBefore(null, key: _data.first.key);
238
}
239
240
_liveStreamSub = latestDocQuery.onValue.listen(
0 commit comments