SyntaxFix
Write A Post
Hire A Developer
Questions
Setting
onPressed: null // disables click
and
onPressed: () => yourFunction() // enables click