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

    Aug 24, 2022 · The difference between onTap () and onPressed is the moment of execution. As you can imagine onPressed () fires as soon as user touches the item without necessarily …

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

  3. 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 () …

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

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

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

  7. How to trigger both parent and child onTap of GestureDetector

    Jan 5, 2022 · How can I make parent widget's onTap and child widget's onTap to be called together? I have a page which consist of several widgets which has their own onTap. One of …

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

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