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