Skip to content
pubscout

flutter_tagging_plus

4.0.2, released 3 years ago by rightclick.com.au

A Flutter package providing tagging and multi-select functionality for forms.

$ flutter pub add flutter_tagging_plus
Source repository

What it does

It allows users to select, search, and add tags or labels within a form input using a customizable autocomplete-style interface. It provides widgets to configure suggestions, input text fields, and resulting item chips.

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

Use it when

  • You need a tag selection or multi-select form input field.
  • Users need to search through suggestions and dynamically add custom tags.

Skip it when

  • You need simple dropdown selection without custom text searching or tagging.

Strengths

  • Simplifies implementing tag and label selection forms.
  • Provides callback hooks for custom suggestions and added tags.

Weaknesses

  • Depends on specific third-party typeahead packages that may change over time.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
3
List<Language> _selectedLanguages = [];

FlutterTagging<Language>(
    initialItems: _selectedLanguages,
    textFieldConfiguration: TextFieldConfiguration(
        decoration: InputDecoration(
            labelText: 'Select Tags',
        ),
    ),
    findSuggestions: LanguageService.getLanguages,
    configureSuggestion: (lang) => SuggestionConfiguration(title: Text(lang.name)),
    configureChip: (lang) => ChipConfiguration(label: Text(lang.name)),
    onChanged: () {},
);

Alternatives

Packages that do the same job and could replace flutter_tagging_plus.

Works with

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