label property

  1. @JsonKey.new(includeFromJson: false, includeToJson: false)
ConnectionLabel? get label

The label at the center of the connection (anchor 0.5).

This label appears at the midpoint of the connection. Set to null to remove the center label.

Implementation

@JsonKey(includeFromJson: false, includeToJson: false)
ConnectionLabel? get label => _label.value;
set label (ConnectionLabel? value)

Sets the label at the center of the connection.

Implementation

set label(ConnectionLabel? value) => runInAction(() => _label.value = value);