selected property

  1. @JsonKey.new(includeFromJson: false, includeToJson: false)
bool get selected

Whether the connection is currently selected.

Selected connections typically render with a different color and/or stroke width as defined by ConnectionTheme.selectedColor and ConnectionTheme.selectedStrokeWidth.

Implementation

@JsonKey(includeFromJson: false, includeToJson: false)
bool get selected => _selected.value;
set selected (bool value)

Sets whether the connection is currently selected.

Implementation

set selected(bool value) => runInAction(() => _selected.value = value);