isDragging property

bool get isDragging

Gets the current dragging state.

Returns true if the node is currently being dragged.

Implementation

bool get isDragging => dragging.value;
set isDragging (bool value)

Sets the dragging state in a MobX action.

Updates are wrapped in runInAction to ensure proper state management.

Implementation

set isDragging(bool value) => runInAction(() => dragging.value = value);