tapLocation method

void tapLocation(
  1. TapDownDetails detail
)

this methode is called to get position where the user has tapped it take TapDownDetails as a parameter

Implementation

void tapLocation(TapDownDetails detail) {
  tapdetail = detail;
  notifyListeners();
}