PointerScrollEvent constructor
- int viewId = 0,
- Duration timeStamp = Duration.zero,
- PointerDeviceKind kind = PointerDeviceKind.mouse,
- int device = 0,
- Offset position = Offset.zero,
- Offset scrollDelta = Offset.zero,
- int embedderId = 0,
- RespondPointerEventCallback? onRespond,
Creates a pointer scroll event.
Implementation
const PointerScrollEvent({
super.viewId,
super.timeStamp,
super.kind,
super.device,
super.position,
this.scrollDelta = Offset.zero,
super.embedderId,
RespondPointerEventCallback? onRespond,
}) : _onRespond = onRespond;