EdsonBueno / infinite_scroll_pagination

Flutter package to help you lazily load and display pages of items as the user scrolls down your screen.
https://pub.dev/packages/infinite_scroll_pagination
MIT License
623 stars 210 forks source link

Have a way to global config firstPageProgressIndicatorBuilder, newPageProgressIndicatorBuilder and so on. #216

Closed huhx closed 1 year ago

huhx commented 2 years ago

In case that we do not want to use the default firstPageProgressIndicatorBuilder and we have many place need to apply pagination. So apply customize newPageProgressIndicatorBuilder, newPageProgressIndicatorBuilder in every places are duplicate code.

clragon commented 2 years ago

you can make your own wrapper that applies those defaults.