Skip to content
pubscout

multiselect_field

2.5.0, released 4 months ago by jhonacode.com

A configurable Flutter dropdown/multi‑select field widget supporting single or multiple selection.

WASM-ready
$ flutter pub add multiselect_field
Source repository

What it does

Provides a dropdown, chip, bottom‑sheet, or drawer UI for selecting items, with optional text filtering, group headers, and customizable styling. Selections are returned via callbacks without extra dependencies.

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

Use it when

  • You need a native multi‑select UI without third‑party packages
  • You want built‑in support for grouping, select‑all, and custom label rendering

Skip it when

  • You require complex form validation frameworks
  • You need a package that integrates with a specific state‑management solution

Strengths

  • Zero third‑party dependencies
  • Multiple display modes and rich customization options
  • Supports both single and multiple selection

Weaknesses

  • Limited to selection UI; no built‑in validation or state‑management integration
  • No built‑in theming beyond provided parameters

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
import 'package:multiselect_field/multiselect_field.dart';

MultiSelectField<String>(
  data: () => [
    Choice(key: 'apple', value: 'Apple'),
    Choice(key: 'banana', value: 'Banana'),
    Choice(key: 'orange', value: 'Orange'),
  ],
  onSelect: (items, _) => print(items.map((e) => e.value).toList()),
  useTextFilter: true,
);

Alternatives

Packages that do the same job and could replace multiselect_field.