showWhenUnlinked property

bool showWhenUnlinked

Whether to show the render object's contents when there is no corresponding RenderLeaderLayer with the same link.

When the render object is linked, the child is positioned such that it has the same global position as the linked RenderLeaderLayer.

When the render object is not linked, then: if showWhenUnlinked is true, the child is visible and not repositioned; if it is false, then child is hidden, and its hit testing is also disabled.

Implementation

bool get showWhenUnlinked => _showWhenUnlinked;
void showWhenUnlinked=(bool value)

Implementation

set showWhenUnlinked(bool value) {
  if (_showWhenUnlinked == value) {
    return;
  }
  _showWhenUnlinked = value;
  markNeedsPaint();
}