title: Flutter - Ontap InkWell doesn't work inside Stack
body: <p>I start with flutter and I have a problem using onTap ().</p>
  <p>I used adobeXd to make my templates but It seems that I can't put GestureDetector and InkWell widgets.</p>
  <pre><code>Transform.translate(
          offset: Offset(MediaQuery.of(context).size.width / 30, 132.0),
          child:
          Stack(
            children: &lt;Widget&gt;[
              Transform.translate(
                offset: Offset(MediaQuery.of(context).size.width / 1.7, 1.0),
                child:
                InkWell(
                  onTap: (){
                    setState(() {
                      actu = true;
                    });
                    print('ink');
  
                  },
                  child: Stack(
                    children: &lt;Widget&gt;[
                      Container(
                        width: MediaQuery.of(context).size.width / 2.85,
                        height: 36.0,
                        decoration: BoxDecoration(
                          borderRadius: BorderRadius.circular(19.0),
                          color: const Color(0x35ffffff),
                        ),
                      ),
                      Transform.translate(
                        offset: Offset(MediaQuery.of(context).size.width / 3.7, 6.0),
                        child:
                        // Adobe XD layer: 'Icones/actualiser' (component)
                        XDIconesactualiser(),
                      ),
                      Transform.translate(
                        offset: Offset(MediaQuery.of(context).size.width / 21.47, MediaQuery.of(context).size.height / 110),
                        child:
                        SizedBox(
                          width: 75.0,
                          height: 27.0,
                          child: Text(
                            'Actualiser',
                            style: TextStyle(
                              fontFamily: 'OpenSans-SemiBold',
                              fontSize: 14,
                              color: const Color(0xffffffff),
                            ),
                            textAlign: TextAlign.left,
                          ),
                        ),
                      ),
                    ],
                  ),
                ),
              )
            ],
          ),
        ),
  </code></pre>
  <p>The onTap does not work. It seems that is when it's inside a Stack or a Transform.
  Can you help me  ?</p>
  <p>Edit :</p>
  <p>the event is not triggered. Nothing happens as if it did not exist. When I look at the tree in the dev tool, the inkwell appears but when I click on the phone nothing happens</p>
  <p><a href="https://i.stack.imgur.com/2ryh4.png" rel="nofollow noreferrer">The image of my Flutter tree</a></p>
  <p>Edit 2 :</p>
  <p>I would like a structure like that</p>
  <p><a href="https://i.stack.imgur.com/EUUWf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EUUWf.png" alt="Expected" /></a></p>
  <p>but when I deactivate the offset for the click to work. i get that</p>
  <p><a href="https://i.stack.imgur.com/AGTqo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AGTqo.png" alt="Reality" /></a></p>