PointerExitEvent constructor Null safety
- {Duration timeStamp = Duration.zero,
- PointerDeviceKind kind = PointerDeviceKind.touch,
- int pointer = 0,
- int device = 0,
- Offset position = Offset.zero,
- Offset delta = Offset.zero,
- int buttons = 0,
- bool obscured = false,
- double pressureMin = 1.0,
- double pressureMax = 1.0,
- double distance = 0.0,
- double distanceMax = 0.0,
- double size = 0.0,
- double radiusMajor = 0.0,
- double radiusMinor = 0.0,
- double radiusMin = 0.0,
- double radiusMax = 0.0,
- double orientation = 0.0,
- double tilt = 0.0,
- bool down = false,
- bool synthesized = false,
- int embedderId = 0}
Creates a pointer exit event.
All of the arguments must be non-null.
Implementation
const PointerExitEvent({
super.timeStamp,
super.kind,
super.pointer,
super.device,
super.position,
super.delta,
super.buttons,
super.obscured,
super.pressureMin,
super.pressureMax,
super.distance,
super.distanceMax,
super.size,
super.radiusMajor,
super.radiusMinor,
super.radiusMin,
super.radiusMax,
super.orientation,
super.tilt,
super.down,
super.synthesized,
super.embedderId,
}) : assert(!identical(kind, PointerDeviceKind.trackpad)),
super(
pressure: 0.0,
);