registerOnPinch method
Two pointers pinch event.
Parameters
A two pointers pinch event is defined as two pointers down, followed by any operation performed with them other than pointer up
- IN start1 is the start position for first pointer
- IN start2 is the start position for second pointer
- IN end1 is the end position for first pointer
- IN end2 is the end position for second pointer
- IN center is the rotation center
Implementation
void registerOnPinch(final PinchCallback? pinchCallback) {
_pinchCallback = pinchCallback;
GemKitPlatform.instance.filterEvent(
pointerId,
'onPinch',
pinchCallback == null,
);
}