FLUTTER ECOSYSTEM

Rodiii/flutter_bidirectional_listview

Flutter 双向 ListView - 支持双向滚动的 ListView,具有固定项目数量和滚动边界。

flutter_bidirectional_listview 项目封面
Stars
7
Forks
1
最近推送(UTC)
2021年10月7日
项目状态
未归档
Christoph Rothermel GitHub avatar
GITHUB User

Christoph Rothermel ↗

rot|h|echUlm, Germany官方网站 ↗
语言DartRubyObjective-CJava

此仓库发布的插件

使用的依赖

依赖清单 2 项
  • flutter{"sdk":"flutter"}
  • flutter_test开发依赖{"sdk":"flutter"}

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

展开 / 收起项目 README

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.