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