AndroidMotionEvent constructor
- required int downTime,
- required int eventTime,
- required int action,
- required int pointerCount,
- required List<
AndroidPointerProperties> pointerProperties, - required List<
AndroidPointerCoords> pointerCoords, - required int metaState,
- required int buttonState,
- required double xPrecision,
- required double yPrecision,
- required int deviceId,
- required int edgeFlags,
- required int source,
- required int flags,
- required int motionEventId,
Creates an AndroidMotionEvent.
Implementation
AndroidMotionEvent({
required this.downTime,
required this.eventTime,
required this.action,
required this.pointerCount,
required this.pointerProperties,
required this.pointerCoords,
required this.metaState,
required this.buttonState,
required this.xPrecision,
required this.yPrecision,
required this.deviceId,
required this.edgeFlags,
required this.source,
required this.flags,
required this.motionEventId,
}) : assert(pointerProperties.length == pointerCount),
assert(pointerCoords.length == pointerCount);