About 50 results
Open links in new tab
  1. flutter - Use onTap () or onPressed () with FlutterIcons on a Bottom ...

    Aug 24, 2022 · I have a Bottom Navigation Bar using FlutterIcons and I would like to use either onTap() or onPressed() on them to switch between screens in the app. How can I achieve this? Here's my …

  2. Flutter onPressed () vs onTap () - Stack Overflow

    Aug 16, 2019 · In my experience, onTap() is used for any gesture capture and onPressed() especially for buttons. Just like in real life, when you have to use a button, you'll press it. Hope this will solve …

  3. 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 ...

  4. How to navigate to a different screen with onTap in flutter

    Apr 25, 2021 · I am trying to navigate the user to a different screen when the user taps on a button in the alert dialogue, so i wrapped the container with inkwell and then used onTap () and navigator push …

  5. Flutter GestureDetector, how to implement onTap Function?

    Mar 29, 2022 · I want to implement the OnTap in the Gesture Detector, i just cant figure out how... Originally i had the OnTap in the Inkwell, but it didnt work, since it didnt "entered" to that function …

  6. Can I use onTap from ListTile to go to new screen?

    Jan 17, 2019 · I'm new to flutter and dart language and this is my first real project which basically have lots of screen, I was wondering if it possible to use onTap from ListTile to go to new screen? if not I …

  7. dart - GestureDetector onTap Card - Stack Overflow

    Jun 3, 2018 · GestureDetector onTap Card Asked 7 years, 7 months ago Modified 2 years, 7 months ago Viewed 33k times

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

    The onTap object is a Function object I declare outside of this. I also set the enabled property based on my onTap object, so I can ensure that if I want to capture a tap, the text form field is disabled.

  9. dart - Show fullscreen image onTap in Flutter - Stack Overflow

    Jan 5, 2019 · I have image shown using one of Flutter widgets Image.network(....); I want to add functionality that after tapping on image I can present this image in fullscreen mode. How it can be …

  10. How to use onTap or onPressed in PopupMenuItem

    Dec 25, 2019 · How can we implement use of onTap or onPressed in PopupMenuItem Here is my code: actions: <Widget> [ PopupMenuButton ( icon: Icon (Icons.settings), itemBuilder: (context) => [