Sitelet https://github.com/Dn-a/flutter_tags/issues/74
Skip to content

Override default onPressed callback #74

Description

@ShahzadUmarBaig

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions