super_tag_editor
1.1.1, released 10 days ago by an unverified publisher
A Flutter widget for editing and managing tags with auto-suggestions and Material behavior.
What it does
Provides a tag editor input field with built-in auto-suggestions, validation support, custom tag builders, and debounced input handling. Designed with Gmail-style tag inputs and keyboard accessibility shortcuts.
AI-written summary of version 1.1.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a Gmail-style tag input field with suggestions and validation.
- Users need to add, delete, and navigate through multiple tags inline.
Skip it when
- You only need a standard single-value TextField without tags.
- You require complex non-Material styling outside the scope of custom builders.
Strengths
- Includes auto-suggestions with custom builder support.
- Built-in debounced input and throttled callbacks.
- Keyboard accessibility with Tab key shortcuts and arrow key navigation.
Weaknesses
- Limited to tag editing use cases.
- Depends on external packages like pointer_interceptor and debounce_throttle.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 3
not documented
TagEditor(
length: values.length,
delimiters: [',', ' '],
hasAddButton: true,
inputDecoration: const InputDecoration(
border: InputBorder.none,
hintText: 'Enter tags...',
),
onTagChanged: (newValue) {
setState(() {
values.add(newValue);
});
},
tagBuilder: (context, index) => Chip(
label: Text(values[index]),
),
findSuggestions: (String query) => [],
)Alternatives
Packages that do the same job and could replace super_tag_editor.
- languagetool_textfield
A text field widget with real-time spell-checking and grammar correction using LanguageTool API.
76Compare - textfield_tags
A text field that allows an input of tags inside the textfield
50Compare - material_tag_editor
A simple tag editor widget designed to act and feel similar to the standard Material TextField.
50Compare - flutter_masked_text2
Masked and money text input controllers for Flutter text fields.
50Compare
Works with
Packages commonly used together with super_tag_editor: ones it builds on, ones built on it, and its own family.
- intlsuper_tag_editor depends on itA Dart library for internationalization and localization, providing message translation, plural/gender handling, and date/number formatting.
- debounce_throttlesuper_tag_editor depends on itA debouncer and throttle for Futures, Streams, and callbacks.
- pointer_interceptorsuper_tag_editor depends on itA widget to prevent clicks from being swallowed by underlying HtmlElementViews on the web.