Check out example codes for "inkwell in image flutter not working". It will help you in understanding the concepts better.

Code Example 1

body: new Center(
    child: new Container(
      child: new Material(
        child: new InkWell(
          onTap: (){print("tapped");},
          child: new Container(
            width: 100.0,
            height: 100.0,
          ),
        ),
        color: Colors.transparent,
      ),
      color: Colors.orange,
    ),
  ),

Learn ReactJs, React Native from akashmittal.com