How do I disable a Button in Flutter?
I’m just starting to get the hang of Flutter, but I’m having trouble figuring out how to set the enabled state of a button. From the docs, it says to set onPressed to null to disable a button, and give it a value to enable it. This is fine if the button continues to be … Read more