Dn-a / flutter_tags

With flutter tags you can create selectable or input tags that automatically adapt to the screen width

Home Page:https://pub.dartlang.org/packages/flutter_tags

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Override default onPressed callback

ShahzadUmarBaig opened this issue · comments

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.