About 225,000 results
Open links in new tab
  1. Flutter onTap method for Containers - Stack Overflow

    Been developing a flutter app and dynamicly building some containers from some Firebase data. I wanted to know if there is a way to get a onTap method for containers (or any widget which is not a ...

  2. dart - Flutter: Change color of container on tap - Stack Overflow

    Aug 11, 2020 · I want to change color and size tapping on container but it does't change anything and setState(() doesn't help too return Scaffold( body: Ink( child: InkWell( child: Con...

  3. onTap() function in Flutter Navigation Drawer? - Stack Overflow

    Aug 26, 2022 · I want to create basic drawer navigation and implement the onTap function on item click DrawerHeader( decoration: BoxDecoration( color: Colors.blue, ), ...

  4. Flutter- GestureDetector not working with containers in stack

    Oct 24, 2018 · I have two containers in a stack and both containers have GestureDetector.The OnTap for the first container is working fine but it's not working with another container. The first container is …

  5. onTap: como puedo ubicar esta función sin que de error

    Dec 12, 2024 · Estoy intentando colocar onTap en un Card, el cual tiene un Colum con los widgets Icon y Center, lo que forma el diseño de una tarjeta con un color de fondo, icono y Nombre al momento …

  6. how to use Gesture Detector "onTap" to navigate to some other page?

    Dec 24, 2020 · how to use Gesture Detector "onTap" to navigate to some other page? Asked 4 years, 6 months ago Modified 4 years, 6 months ago Viewed 2k times

  7. dart - Flutter - Detect TexField on tap - Stack Overflow

    Dec 12, 2018 · 12 TextField has onTap property like GestureDetector which makes it very easy. If you only want the onTap functionality set readOnly to true.

  8. Change color on tap in a Flutter application - Stack Overflow

    Oct 7, 2020 · List<bool> isSelect = [false, false, false, false, false, false]; Toggle the boolean value when Inkwell widget ontap (). Set the colour of card on if condition based on the boolean value isSelect.

  9. flutter - How do I pass the ontap function - Stack Overflow

    Apr 7, 2023 · How can I pass the ontap function to each icons items: const <BottomNavigationBarItem> [ BottomNavigationBarItem ( icon: Icon (Icons.call), label: 'Calls', ),...

  10. flutter - Catch tap event on TextFormField - Stack Overflow

    new GestureDetector( onTap: onTap, behavior: HitTestBehavior.opaque, child: new TextFormField( enabled: onTap == null, *other stuff here* ), ) The onTap object is a Function object I declare outside …