Skip to content
pubscout

multiple_search_selection

3.0.0, released 4 weeks ago by esentis.dev

A multiple selection widget with fuzzy search functionality.

WASM-readyUses material_ui
$ flutter pub add multiple_search_selection
Source repository

What it does

Provides a customizable multiple selection widget featuring built-in fuzzy search capabilities and various item visibility modes. It allows users to search, select, create, and manage multiple items within a Flutter application.

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

Use it when

  • You need a picker or selector UI that supports multiple item selection.
  • Users need to quickly filter large lists using fuzzy search.
  • You want support for creating new items on the fly when search returns no matches.

Skip it when

  • Your app still uses package:flutter/material.dart and you cannot migrate to material_ui.
  • You only require a simple single-selection dropdown or picker.

Strengths

  • Built-in fuzzy search support with multiple search algorithms.
  • Highly customizable with builders for items, picked items, and created items.
  • Supports creating new items dynamically when search results are empty.

Weaknesses

  • Requires migration to the standalone material_ui package in version 3.0.0.
  • High Dart and Flutter SDK minimum version requirements.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1

Requires running flutter pub add material_ui and dart fix during migration to version 3.0.0.

MultipleSearchSelection<Country>(
  searchField: TextField(
    decoration: InputDecoration(
      hintText: 'Search countries',
    ),
  ),
  items: countries,
  fieldToCheck: (c) => c.name,
  itemBuilder: (country, index, isPicked) {
    return Padding(
      padding: const EdgeInsets.all(6.0),
      child: Text(country.name),
    );
  },
  onPickedChange: (items) {},
)

Alternatives

Packages that do the same job and could replace multiple_search_selection.

  • searchfield

    An autocomplete search widget with customizable suggestions, validation, and keyboard navigation.

  • dropdown_search

    A simple, reactive, and highly customizable Flutter dropdown with search and multi-mode support.

  • table_calendar

    Highly customizable, feature-packed calendar widget for Flutter

  • pin_code_fields

    A customizable PIN and OTP input field widget for Flutter with headless core and Material support.

Works with

Packages commonly used together with multiple_search_selection: ones it builds on, ones built on it, and its own family.