GestureDetails constructor

const GestureDetails(
  1. {required GestureKind gestureKind,
  2. required PointerDeviceKind pointerDeviceKind,
  3. required TextElement element,
  4. required String shownText,
  5. required String actionText,
  6. Offset globalPosition =,
  7. Offset localPosition =}

Creates a GestureDetails containing details on a gesture and the element where the gesture was detected.


const GestureDetails({
  required this.gestureKind,
  required this.pointerDeviceKind,
  required this.element,
  required this.shownText,
  required this.actionText,
  this.globalPosition =,
  this.localPosition =,