We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Face a problem with Pressable - when click/press on the button with onPressed: null it freezes within press state.
onPressed: null
Mix (mix different colors):
final mixButton = Mix( p(4), rounded(4), (hover)( bgColor(Colors.red.withOpacity(0.1)) ), (press)( bgColor(Colors.red.lighten()) ), );
The text was updated successfully, but these errors were encountered:
When onPressed is null, Pressable assumes it is in its disabled state. To enable it, provide onPressed
onPressed
null
Pressable
Sorry, something went wrong.
@bdlukaa alright, have you tried to Pressable widget which has onPressed: null and mix I posted in the description? It will freeze in press state.
press
Yes! I am able to reproduce it
Successfully merging a pull request may close this issue.
Face a problem with Pressable - when click/press on the button with
onPressed: null
it freezes within press state.Mix (mix different colors):
The text was updated successfully, but these errors were encountered: