Alrasasi Multi Selection Animated Widget

Build Status

Features

Get your horizantal smooth multi-select widget.

  • Change the color as you want
  • Change the size
  • Create you preffered customized multi list
  • Put it anywhere

ScreenShots

Installation

You should ensure that you add the alrasasi_animated_multi_select as a dependency in your flutter project.


dependencies:
  animated_multi_select: ^1.0

You should then run flutter packages get in your terminal so as to get the package.

Usage

For production environments...

            SingleChildScrollView(
              child: Row(
                children: <Widget>[
                  Flexible(
                      child: MultiSelectChip(
                    reverseScroll: false,
                    introWidget: CircleTransWidget(),
                    introWidgetWidth: 100,
                    color: Color(0xff293462),
                    width: 100,
                    height: 85,
                    borderRadius: BorderRadius.circular(15),
                    borderWidth: 3,
                    mainList: this.mainList,
                    onSelectionChanged: (selectedList) {
                      setState(() {
                        selectedList = selectedList;
                      });
                    },
                    widgetList: widgetList,
                    initialSelectionList: selectedList,
                  )),
                ],
              ),
            ),

Documentation

MultiSelectChip class

PluginREADME
reverseScrollfrom left to write of reverse
introWidgetThe widget beside the multi list
introWidetWidththe width of the introWidget is required, it is in stack
colorThe color of the widget and its border
widthThe width of the single selectio widget
heightThe height of the single selected widget
borderRadiusthe border radius of the single selected widget
onSelectionChangedA function to react to selection actions
initialSelectionListInitial list part from the main list
widgetListthe map that mutches the item with its created widget (see example in github)

"# animated_multi_selection"

Libraries

animated_multi_select
single_widget