v0.2.0item_selector
A generic item selector that works with ListView, GridView, Row, Column, or basically any parent widget that can have indexed child widgets.
Item Selector for Flutter
English project snapshot. Visit GitHub for the latest content.
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.
Dependency list 3 items
{"sdk":"flutter"}^0.3.0{"sdk":"flutter"}Start with your use case, compare repository activity, and check the original project before adopting it.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗