SliverSpace constructor
const
SliverSpace({})
Creates a widget that takes a fixed mainAxisExtent
of space in the
direction of its parent.
The mainAxisExtent
must not be null and must be positive.
The crossAxisExtent must be either null or positive.
Implementation
const SliverSpace({
Key? key,
required double mainAxisExtent,
this.crossAxisExtent,
this.color,
}) : mainAxisExtent = mainAxisExtent,
size = null,
assert(mainAxisExtent > 0),
super(key: key);