SliverSpace constructor
Creates a sliver that takes a fixed mainAxisExtent
of space.
The mainAxisExtent
must not be null and must be positive.
Implementation
const SliverSpace(
this.mainAxisExtent, {
super.key,
this.color,
}) : assert(mainAxisExtent >= 0 && mainAxisExtent < double.infinity);