semanticsBuilder property
Signature of the function returned by CustomPainter.semanticsBuilder.
Builds semantics information describing the picture drawn by this widget. Each CustomPainterSemantics in the returned list is converted into a SemanticsNode by copying its properties.
Rather than creating & modifying a single object, this callback should return a new list literal each time.
Implementation
final RefPaintSemanticsBuilder? semanticsBuilder;