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
508 stars 124 forks source link

Purposes of popupMenuBuilder and popupMenuOnSelected on SelectableTags #22

Closed yehee closed 5 years ago

yehee commented 5 years ago

Hi! Please let me know if questions like this can be better answered elsewhere, but I was hoping to learn more about the purposes of popupMenuBuilder and popupMenuOnSelected on SelectableTags. What are the sole purposes of those and where can I see the examples/demos using such options? I noticed that the example snippet of code on README.md makes use of those options, but I simply do not see the differences with/without those options in my application. I read the documentation as well, but it simply says Popup Menu Items.

Any help would be appreciated. Thanks!

Dn-a commented 5 years ago

@alice-0-kim of the popupMenu generally you could do without it. could be useful in special cases, such as the ability to perform a specific function based on the text of the tag.

yehee commented 5 years ago

Thanks for taking the time to answer my question! Perhaps, is there a demo for that part specifically?

Dn-a commented 5 years ago

@alice-0-kim no but I could add some details in the future

yehee commented 5 years ago

That'll help a lot, thanks!