About 300,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 …

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

  3. How do I programmatically simulate onTap on a button in Flutter?

    Aug 26, 2020 · 1 Update: So I do not want to just invoke a function passed into the onTap of GestureDetector of Widget1, but rather to programmatically tap the onTap of Widget1's …

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

  5. dart - Flutter DataTable - Tap on row - Stack Overflow

    Each DataCell has an onTap callback. You could use this without the unhideable checkbox appearing on your table rows. For example DataCell(Text(itemrow.itemname), onTap: () { // …

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

    Dec 12, 2018 · I either use InkWell with IgnorePointer or Gesture detector with readOnly set to true. It all depends on what is your aim here. Inkwell creates the interaction for touch for the …

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

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

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

  10. Gesture detection in Flutter TextSpan - Stack Overflow

    Feb 21, 2018 · Is there a way to detect which word in the TextSpan was touched by the user? This paragraph is here to get round the stack overflow robot that is insisting that I write more …