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