⚡ PerformanceListView

Pub Version License: MIT Flutter

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.

Ollama Local Chat Flutter UI

🚀 Why PerformanceListView?

Standard Flutter lists become complex quickly when you add infinite scrolling and remote images. PerformanceListView solves:

  • Jank-Free Scrolling: Uses RepaintBoundary to isolate item paints.
  • Memory Bloat: PerformanceImage automatically resizes images to their display size in memory.
  • Boilerplate: No more manual ScrollController listeners for pagination.
  • Robust UX: Built-in "Retry" buttons for errors and "Empty" states for no data.

✨ Key Features

  • Auto-Pagination: Simple onEndReached callback.
  • Grid Support: Easy switch to PerformanceListView.grid.
  • Sliver Ready: Exported as SliverPerformanceListView for complex CustomScrollView layouts.
  • Smart Caching: Built-in wrapper for CachedNetworkImage with optimized memory usage.
  • Refreshable: Seamless integration with RefreshIndicator.

📦 Installation

Add this to your pubspec.yaml:

dependencies:
  performance_list_view: ^0.0.3