Creates a size with a width, height, and axis.
const SliverSize(super.width, super.height, this.axis);