Signature of the function returned by
Builds semantics information describing the picture drawn by a
CustomPainterSemantics in the returned list is
converted into a
SemanticsNode by copying its properties.
The returned list must not be mutated after this function completes. To change the semantic information, the function must return a new list instead.