MaxGap.expand constructor
Creates a widget that takes, at most, the specified mainAxisExtent of
space in a Row, Column, or Flex widget and expands in the cross axis
direction.
The mainAxisExtent must not be null and must be positive.
The crossAxisExtent must be either null or positive.
Implementation
const MaxGap.expand(
double mainAxisExtent, {
Key? key,
Color? color,
}) : this(
mainAxisExtent,
key: key,
crossAxisExtent: double.infinity,
color: color,
);