material_tag_editor
0.1.2, released 5 years ago by an unverified publisher
A simple tag editor widget designed to act and feel similar to the standard Material TextField.
What it does
Allows users to input tags dynamically using a Material-styled text field with delimiters. It supports custom chip builders and exposes properties like controllers, focus nodes, and input formatters.
AI-written summary of version 0.1.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a Material-style tag input or chip entry field in your form.
- You want to split tags automatically using delimiters like spaces or commas.
Skip it when
- You need a complex multi-select dropdown that is not tag-based.
- You are using a non-Material design system.
Strengths
- Feels similar to the standard Material TextField.
- Supports custom tag builders (e.g., using Chip).
- Exposes useful properties like TextEditingController and FocusNode.
Weaknesses
- Limited to tag input functionality.
- No documentation on topics or advanced use cases beyond basic setup.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
TagEditor(
length: values.length,
delimiters: [',', ' '],
hasAddButton: true,
inputDecoration: const InputDecoration(
border: InputBorder.none,
hintText: 'Hint Text...',
),
onTagChanged: (newValue) {
setState(() {
values.add(newValue);
});
},
tagBuilder: (context, index) => Chip(
label: Text(values[index]),
onDeleted: () {},
),
)Alternatives
Packages that do the same job and could replace material_tag_editor.
- super_tag_editor
A Flutter widget for editing and managing tags with auto-suggestions and Material behavior.
74Compare - date_picker_plus
Customizable Material Design date and range picker widgets for Flutter.
70Compare - flutter_material_color_picker
Material color picker widget with customizable colors and shade selection for Flutter apps
50Compare - textfield_tags
A text field that allows an input of tags inside the textfield
50Compare