Search packages, repositories and app categories

multiselect cover
Package detailsv0.1.1

multiselect

A simple multiselect dropdown. It provide a concise way to create a Multi Selct ComboBox/SelectBox

AndroidiOSWebmacOSWindowsLinux
30-day downloads
7.4K
Likes
120
Pub points
150

Install package

flutter pub add multiselect

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A lightweight Flutter package that provides a clean and intuitive multi-select dropdown widget. It enables users to select multiple options from a list in a compact, dropdown-style interface, ideal for forms or filtering interfaces. The widget is customizable and integrates seamlessly with existing Flutter apps across all major platforms. It simplifies the implementation of multi-selection functionality without requiring complex code. Built with simplicity and performance in mind, it's perfect for developers seeking an efficient solution for selecting multiple values.

Use cases

  • Form inputs with multiple choices
  • Filtering options in dashboards
  • User preference selection
  • Tag-based input systems
  • Dynamic data selection in mobile and web apps

Key features

  • Simple API for integration
  • Supports all Flutter platforms
  • Customizable appearance
  • Efficient state management
  • Built-in search/filter capability
  • Responsive design

Suitable for

  • Developers building forms with multiple selections
  • UI designers needing clean dropdowns
  • Cross-platform app creators
  • Apps requiring tag-based input
  • Projects prioritizing minimal setup

Considerations

  • Limited built-in styling options beyond basic customization
  • No native support for grouping options
  • Requires manual handling of large datasets
  • Not optimized for extremely long lists
  • May need additional logic for validation

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

multiselect

A simple Multiselect Dropdown

alt Demo

Usage

add it to pubspec.yaml

dependencies:
  flutter:
    sdk: flutter
  multiselect: # use latest version    

import it

// Imports all Widgets included in [multiselect] package
import 'package:multiselect/multiselect.dart';

Add the DropDownMultiSelect widget to your build method

// Import multiselct
import 'package:multiselect/multiselect.dart';


class Home extends StatefulWidget {
  const Home({Key? key}) : super(key: key);

  @override
  _HomeState createState() => _HomeState();
}

class _HomeState extends State<Home> {

  List<String> selected = [];

  @override
  Widget build(BuildContext context) {
    return Scaffold(
        body: Center(
      child: Padding(
        padding: const EdgeInsets.all(20.0),
        // DropDownMultiSelect comes from multiselect
        child: DropDownMultiSelect(
          onChanged: (List<String> x) {
            setState(() {
              selected =x;
            });
          },
          options: ['a' , 'b' , 'c' , 'd'],
          selectedValues: selected,
          whenEmpty: 'Select Something',
        ),
      ),
    ));
  }
}

And that is it. You will have a working multiselect DropDown with no effort at all.

 
 
 

PS: multiselect is planned to be a collection of multi-select widgets. I will add other functionality based on the needs of the community

Categories

Dependencies

Dependency list 1 items

Source repository

Projects using this package

No data available yet.