container property

bool get container

If 'container' is true, this RenderObject will introduce a new node in the semantics tree. Otherwise, the semantics will be merged with the semantics of any ancestors.

Whether descendants of this RenderObject can add their semantic information to the SemanticsNode introduced by this configuration is controlled by explicitChildNodes.

Implementation

bool get container => _container;
set container (bool value)

Implementation

set container(bool value) {
  if (container == value) {
    return;
  }
  _container = value;
  markNeedsSemanticsUpdate();
}