trackClickEvent method

void trackClickEvent(
  1. Offset? position
)

Implementation

void trackClickEvent(Offset? position) {
  if (position != null) {
    debugPrint('Tapped position: (${position.dx}, ${position.dy})');
  } else {
    debugPrint('No position has been tapped yet.');
  }
}