applyLayoutTransform method
Implementation
void applyLayoutTransform(RenderObject child, Matrix4 transform, bool excludeScrollOffset) {
assert(child.parent == this);
assert(child.parentData is BoxParentData);
final BoxParentData childParentData = child.parentData! as BoxParentData;
Offset offset = childParentData.offset;
if (excludeScrollOffset) {
offset -= Offset(scrollLeft, scrollTop);
}
transform.translate(offset.dx, offset.dy);
}