showWhenUnlinked property Null safety

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.


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


set showWhenUnlinked(bool value) {
  assert(value != null);
  if (_showWhenUnlinked == value) {
  _showWhenUnlinked = value;