AndroidMotionEvent constructor
Creates an AndroidMotionEvent.
All parameters must not be null.
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
}) : assert(downTime != null),
assert(eventTime != null),
assert(action != null),
assert(pointerCount != null),
assert(pointerProperties != null),
assert(pointerCoords != null),
assert(metaState != null),
assert(buttonState != null),
assert(xPrecision != null),
assert(yPrecision != null),
assert(deviceId != null),
assert(edgeFlags != null),
assert(source != null),
assert(flags != null),
assert(pointerProperties.length == pointerCount),
assert(pointerCoords.length == pointerCount);