PointerScrollEvent constructor Null safety
Creates a pointer scroll event.
All of the arguments must be non-null.
Implementation
const PointerScrollEvent({
Duration timeStamp = Duration.zero,
PointerDeviceKind kind = PointerDeviceKind.mouse,
int device = 0,
Offset position = Offset.zero,
this.scrollDelta = Offset.zero,
int embedderId = 0,
}) : assert(timeStamp != null),
assert(kind != null),
assert(device != null),
assert(position != null),
assert(scrollDelta != null),
super(
timeStamp: timeStamp,
kind: kind,
device: device,
position: position,
embedderId: embedderId,
);