Search⌘ K

Challenge: Handling Gestures

Explore how to handle user gestures in Flutter by using the GestureDetector widget and callbacks. Learn to navigate between screens with taps and show info menus on long presses to build interactive user interfaces.

Goal

Use the GestureDetector widget and other widgets’ callbacks to detect gestures made by users.

Specs

  1. When the user presses the FloatingActionButton, the following screen is displayed:
  1. When the user taps on the close icon on the screen above, the following screen is displayed:
  1. Long pressing the first contact in the list will
...