wrapOffset method
Wraps an Offset into a SliverOffset using the sliver constraints of this boxy.
If this boxy is not a RenderSliver, assume the axis is vertical.
Implementation
SliverOffset wrapOffset(Offset offset, Size size) {
return SliverOffset(offset.dx, offset.dy, offset.dx, offset.dy);
}