MaxSpacing.expand constructor

const MaxSpacing.expand(
  1. double mainAxisExtent,
  2. {Key? key,
  3. Color? color}
)

Implementation

const MaxSpacing.expand(
  double mainAxisExtent, {
  Key? key,
  Color? color,
}) : this(
        mainAxisExtent,
        key: key,
        crossAxisExtent: double.infinity,
        color: color,
      );