isCreatingConnection property

bool get isCreatingConnection

Checks if a connection is currently being created.

Returns true when the user is dragging from a port to create a connection. Used by widgets to set their cursor during connection operations.

Note: When accessed inside an Observer, this will track temporaryConnection changes since it accesses temporaryConnection.value internally.

Implementation

bool get isCreatingConnection => temporaryConnection.value != null;