Gap.expand constructor
const
Gap.expand(})
Creates a widget that takes a fixed mainAxisExtent
of space in the
direction of its ancestors and expands in the cross axis direction.
The mainAxisExtent
must not be null and must be positive.
Implementation
const Gap.expand(
double mainAxisExtent, {
Key? key,
Axis? fallbackDirection,
Color? color,
double? thickness,
double? indent,
double? endIndent,
}) : this(
mainAxisExtent,
key: key,
fallbackDirection: fallbackDirection,
crossAxisExtent: double.infinity,
color: color,
thickness: thickness,
indent: indent,
endIndent: endIndent,
);