About 50 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. 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 …

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

    Aug 16, 2019 · 6 The Source of differents between onTap and onPressed is GestureDetector used in buttons. onTap should give you response in the first moment touching the screen. onPressed should …

  4. RESOLVED : All final variables must be initialized, but 'onTap' isn't ...

    Mar 18, 2024 · All final variables must be initialized, but 'onTap' isn't. Try adding an initializer for the field. const Loginpage ( {super.key, required void onTap}); const RegisterPage ( {super.key, required …

  5. 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 …

  6. dart - GestureDetector onTap Card - Stack Overflow

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

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

  8. 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, ), ...

  9. flutter - How to have a callback function called onTap, another ...

    Feb 20, 2024 · How to have a callback function called onTap, another onTapDown, and another onTapUp without overlap? Asked 1 year, 11 months ago Modified 1 year, 11 months ago Viewed …

  10. 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 …