link property

LayerLink link

The link object that connects this RenderLeaderLayer with one or more RenderFollowerLayers.

The object must not be associated with another RenderLeaderLayer that is also being painted.

Implementation

LayerLink get link => _link;
void link=(LayerLink value)

Implementation

set link(LayerLink value) {
  if (_link == value) {
    return;
  }
  _link.leaderSize = null;
  _link = value;
  if (_previousLayoutSize != null) {
    _link.leaderSize = _previousLayoutSize;
  }
  markNeedsPaint();
}