Closed monxarat closed 5 years ago
@monxarat be more specific ... are you referring to selectable tags or to Input Tags?
I have used the selectable tag. I have not found any code handle this issue.
Have you tried this? onPressed: (tag){ print(tag.title);// tag object },
What do you mean? I want Single Selection(same Radiobutton group), not Multiselection(same CheckBox)
now it's clearer ... I'll implement this feature in future versions. now you could do something like that: _singleCheck(Tag tag){ _tags.where((tg) => tg.active).forEach((tg) { tg.active=false; } )); setState(){ tag.active=true; } }
// in onPressed method onPressed:(tag){ _singleCheck(tag); }
I have not tried yet...I do not know if it works
@monxarat I added this feature in the new version 0.1.7. I await your confirmation to close this issuse
@Dn-a thank you very much
Hi guys,
How to select a single item.