Use a FlatButton Widget to make the Image clickable.
Add a print
statement that gets triggered when the button is pressed. It should print 'I got clicked'
.
When you run the app and click on the ball image you should see the words "I got clicked" into the console like this: