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

OnEmpty does not work good #145

Closed ghanemnagi closed 2 years ago

ghanemnagi commented 2 years ago

In the new update onEmpty show full screen (placeholder expanded to fill overall screen) and may user doesn't see the placeholder unless he scroll down.

Please return it back to fit the placeholder height. Thanks

demanhamed commented 2 years ago

Just get in PaginateFirestore class (ctr + click if you are using vs code), and scroll down to _buildWithScrollView function ,inside this fuction all u have to do is to remove SingleChildScrollView widget (keep only the Container widget ), and that's it :)

ghanemnagi commented 2 years ago

@Elhushiy Thank you! your solution is right, I tried to change the onEmpty itself but it didn't work. Thanks