up method
Implementation
void up(final int pointer, final Offset position, {required final double width}) {
if (_activePointers.remove(pointer) == null || _activePointers.isNotEmpty) {
return;
}
final didSequenceMove = _didSequenceMove;
_resetSequence();
if (didSequenceMove || nativeTapFeedback) {
return;
}
if (position.dx < legacyEdgeWidth || (width - position.dx) < legacyEdgeWidth) {
onEdgeTap();
} else {
onCenterTap();
}
}