size property

SliverSize size

The current size of the sliver.

Implementation

SliverSize get size => SliverSize.axis(
      constraints.crossAxisExtent,
      geometry!.layoutExtent,
      constraints.axis,
    );