Skip to content
pubscout

flutter_multiselect

1.0.2, released 2 years ago by hiddencaliber.com

Flutter package for a multi-select UI widget with filter and validation support.

WASM-ready
$ flutter pub add flutter_multiselect
Source repository

What it does

Provides a multi-select form widget that bridges the gap where default iOS and Android controls lack native multi-selection. It offers a modal interface with customizable buttons, search filtering, and options validation.

AI-written summary of version 1.0.2, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need a form field that lets users select multiple options from a data source.
  • You require filtering/searching through the list of choices within the selection modal.

Skip it when

  • You need a simple inline wrapping chip layout rather than a modal-based picker.

Strengths

  • Supports filtering and search functionality inside the selection modal.
  • Highly customizable UI elements including buttons, colors, and text.
  • Compatible across multiple platforms including mobile, web, and desktop.

Weaknesses

  • Relies on passing data via maps (dataSource, textField, valueField) rather than strongly-typed Dart objects.
  • Limited documentation beyond basic examples.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
MultiSelect(
  autovalidate: false,
  titleText: "Countries",
  validator: (value) {
    if (value == null) {
      return 'Please select one or more option(s)';
    }
  },
  errorText: 'Please select one or more option(s)',
  dataSource: [
    {
      "display": "Australia",
      "value": 1,
    },
    {
      "display": "Canada",
      "value": 2,
    }
  ],
  textField: 'display',
  valueField: 'value',
  filterable: true,
  required: true,
  value: null,
  onSaved: (value) {
    print('The saved values are $value');
  }
)

Alternatives

Packages that do the same job and could replace flutter_multiselect.