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

Override default onPressed callback #74

Open ShahzadUmarBaig opened 3 years ago

ShahzadUmarBaig commented 3 years ago

I couldn't find a way to override the default onPressed callback, I wanted to do something like, if the tag is active it can not be deactivated until a specific condition is met... but there is no way to get rid of the default onPressed to change active inactive value.

do let me know if there is a way to do that without conditionally working with pressEnabled property.