Item Selector plugin for Flutter

  List, packages, Packages, plugin

Item Selector for Flutter

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.

Preview

ListViewGridView
ColumnCustom

Usage

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');
        },
      );
    }),
  ),
)

Download Item Selector package source code on GitHub

https://github.com/jpnurmi/item_selector

Check out import and uses details on pub

https://pub.dev/packages/item_selector