size property

SliverSize get size

The current size of the sliver.

Implementation

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