wrapSize method
Wraps a Size into a SliverSize using the sliver constraints of this boxy.
If this boxy is not a RenderSliver, assume the axis is vertical.
Implementation
@override
SliverSize wrapSize(Size size) {
return SliverSize(size.width, size.height, constraints.axis);
}