paintChildren method
void
paintChildren()
Override this method to change how children get painted.
This method has access to canvas and paintingContext for painting.
The canvas available to this method is not transformed implicitly like paint and paintForeground, implementers of this method should draw at paintOffset and restore the canvas before painting a child. This is required by the framework because a child might need to insert its own compositing Layer between two other PictureLayers.
Implementation
void paintChildren() {
for (final child in children) {
child.paint();
}
}