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 onP
onP
The simple answer is onPressed : null gives a disabled button.
onPressed : null