followerAnchor property

Alignment get followerAnchor

The anchor point on this RenderFollowerLayer that will line up with followerAnchor on the linked RenderLeaderLayer.

For example, when leaderAnchor and followerAnchor are both Alignment.topLeft, this RenderFollowerLayer will be top left aligned with the linked RenderLeaderLayer. When leaderAnchor is Alignment.bottomLeft and followerAnchor is Alignment.topLeft, this RenderFollowerLayer will be left aligned with the linked RenderLeaderLayer, and its top edge will line up with the RenderLeaderLayer's bottom edge.

Defaults to Alignment.topLeft.

Implementation

Alignment get followerAnchor => _followerAnchor;
set followerAnchor (Alignment value)

Implementation

set followerAnchor(Alignment value) {
  if (_followerAnchor == value) {
    return;
  }
  _followerAnchor = value;
  markNeedsPaint();
}