flutter_chip_tags 2.0.2 copy "flutter_chip_tags: ^2.0.2" to clipboard
flutter_chip_tags: ^2.0.2 copied to clipboard

Clip Style Tags with TextFormField. Useful for adding Tags from TextFormField.

flutter_chip_tags #

flutter_chip_tags allow developers to create tags from list and add or remove tags from list. It has a TextFormField where user can insert value and it will seprate each tag by space. Similar to GitHub Manage Topics

Getting Started #

For Detailed Example head over to example/lib/main.dart #

Sample #

ChipTags(
  list: _myListCustom,
  chipColor: Colors.black,
  iconColor: Colors.white,
  textColor: Colors.white,
  decoration: InputDecoration(hintText: "Your Custom Hint"),
  keyboardType: TextInputType.text,
),

Properties #

Property Function
list List<String> which you want to display as Tags.
chipColor Sets Chip background color. By default it's Blue.
iconColor Sets Icon color. By default it's White.
textColor Sets Text color. By default it's White.
separator String that acts as the target to separate.
decoration It accepts InputDecoration to decorate TextFormField.
keyboradType It accepts TextInputType to set the keyboard layout.
createTagOnSubmit It allows user to create tag on submit. If true they separtor will be ignored.
chipPosition It allows to display chip either above or below the textField. By default it's ChipPosition.below

Example Demo #

35
likes
150
points
210
downloads

Publisher

unverified uploader

Weekly Downloads

Clip Style Tags with TextFormField. Useful for adding Tags from TextFormField.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_chip_tags