-
-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disabling "All" and "Reset" buttons #24
Comments
@guplem Thanks for the suggestion. I'll add the boolean parameter to hide |
@guplem I have added a // Display 'All` button alongside `Apply` button
controlButtons: [ContolButtonType.All] // Display 'Reset` button alongside `Apply` button
controlButtons: [ContolButtonType.Reset]
|
@guplem New version is available on pub.dev. Let me know if you face any issue. |
Thanks for the update! It seems to work flawlessly, and it has many new features that will be highly appreciated! The slightly new design is cool too, thank you for your time! A little more documentation would be helpful, some people not quite familiarized with flutter might struggle to figure all the theme options. |
Is your feature request related to a problem? Please describe.
It would be very nice to be able to remove the "all" and "reset" buttons.
Describe the solution you'd like
A parameter in the constructor to allow you to remove the "all" and "reset" buttons if desired. If removed, the "Accept" button should be the only one remaining and could be automatically centred to the bottom middle.
Describe alternatives you've considered
I have tried removing the text from the button (using "resetButtonText" and "allButtonText"), but it's still showing the buttons. Maybe giving an empty string ("") could disable it.
Additional context
I am using the widget as a tag selector while in the creation of elements for my app, and it makes no sense to have the "all" button, I wouldn't want the users to set all the tags to a new element, usually they should add only 2-3.
The text was updated successfully, but these errors were encountered: