Dn-a / flutter_tags

With flutter tags you can create selectable or input tags that automatically adapt to the screen width
https://pub.dartlang.org/packages/flutter_tags
MIT License
507 stars 127 forks source link

Read only tag #15

Closed Gustavoaz closed 5 years ago

Gustavoaz commented 5 years ago

I want a readonly tag, how i make this?

Dn-a commented 5 years ago

@Gustavoaz please give me more information...are you referring to a SelectableTags or InputTags?

Gustavoaz commented 5 years ago

@Dn-a SelectableTags, when user click I don't want that stay actived, my code:

` _selectableTags .add(Tag(id: cnt, title: tag, active: false, icon: null));

SelectableTags( tags: _selectableTags, fontSize: widget.fontSize, symmetry: false, activeColor: Colors.lightBlue, color: Colors.white70, textActiveColor: Colors.white, borderSide: BorderSide(color: Colors.white70), backgroundContainer: Colors.transparent, textOverflow: TextOverflow.ellipsis,
onPressed: (tag) {} )`

Dn-a commented 5 years ago

@Gustavoaz ok, all or just some?

Gustavoaz commented 5 years ago

@Dn-a all

Dn-a commented 5 years ago

@Gustavoaz new version 0.4.2. check and leave feedback.