Expected : Adding an onClick on images I used GestureDetector but it is throwing error so I need to know what I should use and how.