defaultPaint method
Paints each child by walking the child list forwards.
See also:
- defaultHitTestChildren, which implements hit-testing of the children in a manner appropriate for this painting strategy.
Implementation
@override
void defaultPaint(PaintingContext context, Offset offset) {
for (final child in _painted()) {
context.paintChild(child, (child.parentData! as FlexParentData).offset + offset);
}
}