About 271,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. 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.

  3. dart - How to detect TabBar change in Flutter? - Stack Overflow

    Apr 3, 2019 · I need to detect TabBar when I swipe then print somethings on console, how I can do that? This is my code. bottomNavigationBar: new Material( color: Colors.blueAccent, ch...

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

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

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

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

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

  9. Flutter/Dart Add custom Tap Events for Google Maps Marker

    Jan 8, 2019 · How would I add a custom handler for tap events for Google Maps Marker (google_maps_flutter)? I can only see consumeTapEvents which doesn't actually take in any …

  10. Flutter: How do you make a card clickable? - Stack Overflow

    Apr 21, 2018 · As long as onTap is not null (having () {} is enough to make it not null), you will end up with the desired splash effect, AND you'll have a clickable Card. Also, the current Card widget in …