centerColumn function

Widget centerColumn(
  1. Iterable<Widget> children, {
  2. Color? color,
})

Implementation

Widget centerColumn(Iterable<Widget> children, {Color? color}) => Container(
      color: color,
      child: Column(
        mainAxisAlignment: MainAxisAlignment.center,
        crossAxisAlignment: CrossAxisAlignment.center,
        mainAxisSize: MainAxisSize.min,
        children: [
          ...children,
        ],
      ),
    );