flutter_multi_chip_select 0.1.1

Flutter Android iOS

A simple and versatile multiple chip select component for App developers, with different style.

flutter_multi_chip_select #

License

A simple and versatile multiple chip select component for App developers, with different style.🚀

Getting Started #

dependencies:
 flutter_multi_chip_select: ^0.1.0

Usage example #

Bottom Popup with no filters #

final multiSelectKey = GlobalKey<MultiSelectDropdownState>();
var menuItems = [1, 2, 3, 4, 5, 6];

FlutterMultiChipSelect(
      key: multiSelectKey,
      elements: List.generate(
        menuItems.length,
        (index) => MultiSelectItem<String>.simple(
            actions: [
              IconButton(
                icon: Icon(Icons.delete),
                onPressed: () {
                  setState(() {
                    menuItems.remove(menuItems[index]);
                  });
                  print("Delete Call at: " + menuItems[index].toString());
                },
              )
            ],
            title: "Item " + menuItems[index].toString(),
            value: menuItems[index].toString()),
      ),
      label: "Dropdown Select",
      values: [
        1, 2 // Pass Initial value array or leave empty array.
      ],
    )

Contribute #

Any contribution is deeply appreciated.

License #

Distributed under the MIT license. See LICENSE for more information.

About #

4
likes
80
pub points
67%
popularity

A simple and versatile multiple chip select component for App developers, with different style.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

abhinav.jha58@gmail.com

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_multi_chip_select