パッケージ、リポジトリ、アプリカテゴリを検索

bidirectional_listview のカバー
パッケージ詳細v1.0.3

bidirectional_listview

上方向および下方向にスクロール可能で、遅延読み込みが可能な、固定されたアイテム数とスクロール境界を持つ ListView。

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
187
いいね数
29
Pub ポイント
140

パッケージをインストール

flutter pub add bidirectional_listview

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

ListView 機能を拡張し、上下両方向のバイディレクショナルスクロールと遅延読み込みをサポートする Flutter パッケージです。表示されるアイテム数を固定に保ち、スクロール境界を尊重するため、パフォーマンスとメモリ効率が重要な大規模データセットに最適です。広範なコンテンツをナビゲートする際、リソース消費を最小限に抑えながら滑らかで応答性の高いユーザー体験を提供することを目的としています。

用途

  • 無限スクロールを必要とする大規模なデータセット
  • リスト内の双方向ナビゲーション
  • 長いリストのメモリ効率の良いレンダリング
  • リアルタイムデータフィードと動的更新
  • チャットやニュースフィードのようなコンテンツが豊富なアプリ

主な機能

  • 上下スクロールをサポートしています
  • スクロール中のアイテム数を固定
  • アイテムの遅延読み込み
  • スクロール境界を尊重する
  • パフォーマンスとメモリに最適化されています

適している対象

  • 高パフォーマンスなリストインターフェースを構築する開発者
  • 広範なスクロール可能コンテンツを備えたアプリ
  • 効率的なデータ読み込みを必要とするプロジェクト
  • 複数のプラットフォームでスムーズなUXを優先するチーム
  • 軽量なページネーションソリューションを求めるユーザー

注意事項

  • スクロール位置の慎重な管理が必要です
  • 例外的なケースに対応するためのカスタムロジックが必要になる場合があります
  • 非常に動的なアイテム数には適していません
  • 限定された組み込みカスタマイズオプション
  • 安定したデータソースと併用するのが最適です

元の README

関連するソースリポジトリの 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.

カテゴリー

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。