this is my code
late final Stream<QuerySnapshot> products = productsRef
.where('submitters', arrayContains: uid)
.where('postState', isNotEqualTo: 'completed')
.orderBy('createdAt', descending: true)
.snapshots();
without orderBy it works fine