🐦 Gestures

Detect user interaction within your app

Example Code

file_type_dartlang main.dart
//...
         child: GestureDetector(
           onTapDown: (details) => print(details.globalPosition.dx),
           child: Container(
             width: 100,
             height: 100,
             color: Colors.red
           ),
         ),
//...

Questions? Let's chat

Open Discord