Alrasasi Multi Selection Animated Widget

Build Status

Features

Get your horizantal smooth multi-select widget.

  • Change the color as you want
  • Change the size
  • Put it anywhere

Image description

Installation

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


dependencies:
  alrasasi_animated_multi_select: ^0.0.1

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

Usage

For production environments...

            MultiSelectChip(
                color: Colors.deepPurpleAccent,
                raduis: 100,
                mainList: this.mainList,
                onSelectionChanged: (selectedList) {
                  setState(() {
                    selectedList = selectedList;
                  });
                },
                initialSelectionList: selectedList,
                textStyle: TextStyle(color: Colors.purple, )
            ),

Documentation

MultiSelectChip class

PluginREADME
colorThe color of the widget and its border
raduisThe height of the circle
mainListMain list the user select from
onSelectionChangedA function to react to selection actions
initialSelectionListInitial list part from the main list
textStyleStyling the text inside the widget

"# animated_multi_selection"

Libraries

alrasasi_animated_multi_select
circle_button

Dart

VM

dart:ffi
Foreign Function Interface for interoperability with the C programming language. [...]

Web

dart:html
HTML elements and other resources for web-based applications that need to interact with the browser and the DOM (Document Object Model). [...]
dart:js
Low-level support for interoperating with JavaScript. [...]
dart:js_util
Utility methods to efficiently manipulate typed JSInterop objects in cases where the name to call is not known at runtime. You should only use these methods when the same effect cannot be achieved with @JS annotations. These methods would be extension methods on JSObject if Dart supported extension methods.