v0.2.0item_selector
ListView、GridView、Row、Column、または基本的にインデックス付きの子ウィジェットを持つ任意の親ウィジェットと連携できる汎用的なアイテム選択器です。
34いいね 2230日間ダウンロード140Pub ポイント
AndroidiOSWebmacOSWindowsLinux
Flutter用アイテムセレクタ
以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
A generic Flutter item selector that works with ListView, GridView, Row, Column, or basically any parent widget that can have indexed child widgets. It supports single-selection by tap, and multi-selection by long-press and drag with auto-scrolling.
| ListView | GridView |
|---|---|
![]() |
![]() |
| Column | Custom |
|---|---|
![]() |
![]() |
To use this package, add item_selector as a dependency in your pubspec.yaml file.
ItemSelectionController(
child: ListView(
children: List.generate(10, (int index) {
return ItemSelectionBuilder(
index: index,
builder: (BuildContext context, int index, bool selected) {
return Text('$index: $selected');
},
);
}),
),
)
Item Selector is based on Multi Select GridView in Flutter - by Simon Lightfoot.
依存関係一覧 3 件
{"sdk":"flutter"}^0.3.0{"sdk":"flutter"}用途で絞り込み、開発状況を比較し、採用前に元のリポジトリで要件を確認しましょう。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗