Search packages, repositories and app categories

bidirectional_listview cover
Package detailsv1.0.3

bidirectional_listview

ListView with items that can be scrolled and lazy loaded in up and down direction with a fixed item count and scroll boundaries.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
187
Likes
29
Pub points
140

Install package

flutter pub add bidirectional_listview

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A Flutter package that extends ListView functionality to support bidirectional scrolling and lazy loading in both up and down directions. It maintains a fixed number of visible items and respects scroll boundaries, making it ideal for large datasets where performance and memory efficiency are critical. The package is designed for smooth, responsive user experiences when navigating through extensive content with minimal resource usage.

Use cases

  • Large data sets requiring infinite scroll
  • Bidirectional navigation in lists
  • Memory-efficient rendering of long lists
  • Real-time data feeds with dynamic updates
  • Content-heavy apps like chat or news feeds

Key features

  • Supports up and down scrolling
  • Fixed item count during scroll
  • Lazy loading of items
  • Respects scroll boundaries
  • Optimized for performance and memory

Suitable for

  • Developers building high-performance list interfaces
  • Apps with extensive scrollable content
  • Projects needing efficient data loading
  • Teams prioritizing smooth UX on multiple platforms
  • Users seeking a lightweight pagination solution

Considerations

  • Requires careful management of scroll position
  • May need custom logic for edge cases
  • Not suitable for highly dynamic item counts
  • Limited built-in customization options
  • Best used with stable data sources

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Flutter Bidirectional ListView

Example

ListView with items that can be scrolled and lazy loaded in up and down direction with a fixed item count and scroll boundaries.

With this library the following is possible:

  • ListView can be scrolled in up (negative indices) and down (positive indices) direction
  • Lazy loading is possible for up and down direction
  • Scroll boundaries for top and bottom
  • ItemCount for negative and positive indices can/must be set

Limitations:

  • Min- and MaxExtents for scrolling must be set manually

Quick Usage

Replace your existing ListView with BidirectionalListView. Builder pattern must be used because of its infinite nature.

A complete tutorial how to use BidirectionalListView can be found here: Tutorial

Please refer to the example for usage: Quick-Link

Bugs/Requests

If you encounter any problems feel free to open an issue. If you feel the library is missing a feature, please raise a ticket on Github and I'll look into it. Pull Request are also welcome.

Categories

Source repository

Projects using this package

No data available yet.