PointerDownEvent constructor
- int viewId = 0,
- Duration timeStamp = Duration.zero,
- int pointer = 0,
- PointerDeviceKind kind = PointerDeviceKind.touch,
- int device = 0,
- Offset position = Offset.zero,
- int buttons = kPrimaryButton,
- bool obscured = false,
- double pressure = 1.0,
- double pressureMin = 1.0,
- double pressureMax = 1.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,
- int embedderId = 0,
Creates a pointer down event.
Implementation
const PointerDownEvent({
super.viewId,
super.timeStamp,
super.pointer,
super.kind,
super.device,
super.position,
super.buttons = kPrimaryButton,
super.obscured,
super.pressure,
super.pressureMin,
super.pressureMax,
super.distanceMax,
super.size,
super.radiusMajor,
super.radiusMinor,
super.radiusMin,
super.radiusMax,
super.orientation,
super.tilt,
super.embedderId,
}) : assert(!identical(kind, PointerDeviceKind.trackpad)),
super(
down: true,
distance: 0.0,
);