textfield_tags
This is a simple widget that allows your users to create tags by entering the tag's name inside of textfield and make the tags appear in the textfield. After entering the tag, the user can press the spacebar or enter button to save the tag and move on to enter another tag.
Compatibility
sdk: ">=2.7.0 <3.0.0"
flutter: ">=1.17.0 <2.0.0"
Getting Started
To start using this widget, you will need to first import the package inside your project following the install guide found on Flutter.dev.
Usage
To use this widget,
import 'package:textfield_tags/textfield_tags.dart';
inside your dart file- Call the widget
TextFieldTags()
. - The widget takes in three arguments:
TagsStyler
,TextFieldStyler
, and a call back function that returns the tags your user enters.
You can investigate the properties ofTagsStyler
andTextFieldStyler
for more customizations if you choose to do so.