link property Null safety

LayerLink link

The link object that connects this RenderFollowerLayer with a RenderLeaderLayer earlier in the paint order.

Implementation

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

Implementation

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