performance_list_view 0.0.3
performance_list_view: ^0.0.3 copied to clipboard
A production-ready Flutter list wrapper with pagination, pull-to-refresh, error states, and image memory optimization.
β‘ PerformanceListView #
Stop reinventing the wheel. PerformanceListView is a production-ready, drop-in replacement for Flutter's standard ListView/GridView. It eliminates boilerplate by handling Pagination, Pull-to-Refresh, Error States, and Memory-Optimized Caching right out of the box.
π Why PerformanceListView? #
Standard Flutter lists become complex quickly when you add infinite scrolling and remote images. PerformanceListView solves:
- Jank-Free Scrolling: Uses
RepaintBoundaryto isolate item paints. - Memory Bloat:
PerformanceImageautomatically resizes images to their display size in memory. - Boilerplate: No more manual
ScrollControllerlisteners for pagination. - Robust UX: Built-in "Retry" buttons for errors and "Empty" states for no data.
β¨ Key Features #
- Auto-Pagination: Simple
onEndReachedcallback. - Grid Support: Easy switch to
PerformanceListView.grid. - Sliver Ready: Exported as
SliverPerformanceListViewfor complexCustomScrollViewlayouts. - Smart Caching: Built-in wrapper for
CachedNetworkImagewith optimized memory usage. - Refreshable: Seamless integration with
RefreshIndicator.
π¦ Installation #
Add this to your pubspec.yaml:
dependencies:
performance_list_view: ^0.0.3