semanticsBuilder property

SemanticsBuilderCallback semanticsBuilder
inherited

Returns a function that builds semantic information for the picture drawn by this painter.

If the returned function is null, this painter will not contribute new SemanticsNodes to the semantics tree and the CustomPaint corresponding to this painter will not create a semantics boundary. However, if CustomPaint.child is not null, the child may contribute SemanticsNodes to the tree.

See also:

  • SemanticsConfiguration.isSemanticBoundary, which causes new SemanticsNodes to be added to the semantics tree.
  • RenderCustomPaint, which uses this getter to build semantics.

Implementation

SemanticsBuilderCallback get semanticsBuilder => null;