Satyam-2001 / Multi-Select-Container

Multi Select Container is a pub package which provides a convenient and customizable way to implement multi-select functionality in a Flutter application.

Home Page:https://pub.dev/packages/multi_select_container

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

✔️ Multi Select Container

Multi Select Container is a Flutter package that provides a customizable container for selecting multiple items from a list. It allows you to easily implement a multi-select feature in your Flutter application.

Gallery App Link

Features

  • Select multiple items from a list.
  • Customize the appearance of the container.
  • Easily integrate with existing Flutter projects.
  • Support for both iOS and Android platforms.

Getting started

To start using the package, add the dependencies in your pubspec.yaml and import.

Usage

To better understand the usage of the MultiSelectBuilder widget refer to an example section.

MultiSelectBuilder<String>(builder: (context, controller) {
    return Column(
        children: [
            for(String item in itemList)
                MultiSelectContainer(
                    tag: item,
                    controller: controller,
                    child: const Text(item),
                ),
        ],
    ),
});

Parameters

  • tag: A unique identifier for the container.
  • controller: An instance of MultiSelectController to control the selection.
  • child: The child widget to display within the container.
  • colorOnSelected: The color to apply when the container is selected.
  • onTap: A callback function to handle the tap event on the container.
  • elevation: The elevation of the container card.
  • radius: The border radius of the container card.
  • widgetOnTop: An optional widget to display on top of the container.

About

Multi Select Container is a pub package which provides a convenient and customizable way to implement multi-select functionality in a Flutter application.

https://pub.dev/packages/multi_select_container

License:MIT License


Languages

Language:C++ 37.5%Language:CMake 32.8%Language:Dart 16.4%Language:C 3.3%Language:Swift 3.0%Language:HTML 3.0%Language:Shell 1.9%Language:Objective-C 1.0%Language:Java 0.9%Language:Kotlin 0.2%