handlePrimaryPointer method
- @override
override
Override to provide behavior for the primary pointer when the gesture is still possible.
Implementation
@override
void handlePrimaryPointer(PointerEvent event) {
if (event is PointerUpEvent) {
_finalPosition = event.position;
_checkUp();
} else if (event is PointerCancelEvent) {
_reset();
}
}