SerialTapUpDetails constructor
- Offset globalPosition = Offset.zero,
- Offset? localPosition,
- PointerDeviceKind? kind,
- int count = 1,
Creates details for a GestureSerialTapUpCallback.
The count
argument must be greater than zero.
Implementation
SerialTapUpDetails({
this.globalPosition = Offset.zero,
Offset? localPosition,
this.kind,
this.count = 1,
}) : assert(count > 0),
localPosition = localPosition ?? globalPosition;