targetOffset property

double get targetOffset

Get the offset for the target end. Returns 0 if there's no target port (mouse position in output port drag).

Implementation

double get targetOffset => targetPort != null ? offset : 0;