hasan-hm1 / circular_menu

A simple animated circular menu for Flutter, Adjustable radius, colors, alignment, animation curve and animation duration.
MIT License
101 stars 54 forks source link

[question] How to disable an item #21

Closed eric-taix closed 4 months ago

eric-taix commented 2 years ago

Hi, First thanks for your work on this package.

Currently I'm using CircularMenu with dynamic items (some options are available or not according to the current context displayed). Of course I could add items dynamically, but in some context only one item would have been displayed which is awful and impossible as CircularMenu needs at least 2 items. As my total number of items are fixed, I'd like to disable some items and I tried to set onTap: null but this is not possible.

I perhaps miss something but is there a way to disable an item:

Thanks for your answer

github-actions[bot] commented 4 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

github-actions[bot] commented 4 months ago

This issue has been automatically closed because it has not had any recent activity.