LeaderLayer constructor
Creates a leader layer.
The link property must not have been provided to any other LeaderLayer
layers that are attached to the layer tree at the same time.
The offset property must be non-null before the compositing phase of the
pipeline.
Implementation
LeaderLayer({required LayerLink link, Offset offset = Offset.zero})
: _link = link,
_offset = offset;