GestureDetails constructor
const
GestureDetails({
- required GestureKind gestureKind,
- required PointerDeviceKind pointerDeviceKind,
- required TextElement element,
- required String shownText,
- required String actionText,
- Offset globalPosition = Offset.zero,
- Offset localPosition = Offset.zero,
Creates a GestureDetails containing details on a gesture and the element where the gesture was detected.
Implementation
const GestureDetails({
required this.gestureKind,
required this.pointerDeviceKind,
required this.element,
required this.shownText,
required this.actionText,
this.globalPosition = Offset.zero,
this.localPosition = Offset.zero,
});