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

Intermediate Widgets #79

Closed austinn closed 3 years ago

austinn commented 3 years ago

Add ability to add a widget in the pageview after certain number of items.

Example:

insertWidgetEvery: 5,
intermediateWidget: NativeAdView(),
vedartm commented 3 years ago

Hi @austinn. Thanks for making this PR. I ran it locally but the intermediate does not seem to work. I tried it with different insertWidgetEvery numbers but still not able to make it work. Can you please check and let me know?

austinn commented 3 years ago

@vedartm Did you try it with the PaginateBuilderType.pageView? It currently only works with that specific layout. I can look into adding it to the other layouts too! Also my first time contributing to a flutter package, so I may have done something wrong with the lull request! I'll double check everything and get back to you!

vedartm commented 3 years ago

Sorry! I didn't try it with pageView. I'll check with that.