사용자가 스크롤할 때 페이지 단위 콘텐츠를 지연로딩할 수 있도록 해주는 플러터 패키지입니다. 데이터를 점진적으로 가져오는 방식으로 성능과 사용자 경험을 향상시킵니다. ListView 및 기타 스크롤 가능한 위젯과 원활하게 통합되어 현재 콘텐츠의 끝부분에 가까워질 때 자동으로 페이지 요청을 트리거합니다. 소셜 피드, 검색 결과, 제품 카탈로그와 같은 긴 목록을 표시하는 앱에 이상적입니다. 최소한의 보일러플레이트로 로딩 상태, 오류 복구, 빈 상태를 처리합니다.
Unopinionated, extensible and highly customizable package to help you lazily load and display small chunks of items as the user scrolls down the screen – known as infinite scrolling pagination, endless scrolling pagination, auto-pagination, lazy loading pagination, progressive loading pagination, etc.
Designed to feel like part of the Flutter framework.
API-agnostic: By letting you in complete charge of your API calls, Infinite Scroll Pagination works with any pagination strategy.
Highly customizable: You can change everything. Provide your own progress, error and empty list indicators. Too lazy to change? The defaults will cover you.
Listen to state changes: In addition to displaying widgets to inform the current status, such as progress and error indicators, you can also use a listener to display dialogs/snackbars/toasts or execute any other action.
Migration
if you are upgrading the package, please check the migration guide for instructions on how to update your code.