Skip to content
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

Why was the callback for the suffix buttons removed? #730

Open
emaq-farishadziomerovic opened this issue Dec 24, 2024 · 3 comments
Open

Comments

@emaq-farishadziomerovic

The commit e6cdd6c removed the onPressed callback from the IconButtonProps class and I dont think it was mentioned in any breaking change.

What is the reason for it's removal?
Can it be returned?

@git-goku
Copy link

hi, any update on this

@git-goku
Copy link

the solution is onChanged: (newValue) {}, handle clear if newValue is null

@emaq-farishadziomerovic
Copy link
Author

Yeah, but it was possible to abort the cancel or do whatever you want with the onPressed callback.

Anyways I've stopped using this package because you can't open the menu/dialog/sheet without using the widget.

I think that would be a great addition to this package, to expose public methods for showing the menu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants