TapUpDetails constructor
- required PointerDeviceKind kind,
- Offset globalPosition = Offset.zero,
- Offset? localPosition,
Creates a TapUpDetails data object.
Implementation
TapUpDetails({
required this.kind,
this.globalPosition = Offset.zero,
Offset? localPosition,
}) : localPosition = localPosition ?? globalPosition;