size property
SliverSize
size
The size of this child in the child's coordinate space, only valid after calling BoxyChild.layout.
This method returns Size.zero if this handle is neither a RenderBox or RenderSliver, since sizing is dependant on the render protocol.
Implementation
SliverSize get size => SliverSize.zero;