Column constructor

Column({
  1. MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start,
  2. MainAxisSize mainAxisSize = MainAxisSize.max,
  3. CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
  4. VerticalDirection verticalDirection = VerticalDirection.down,
  5. List<Widget> children = const <Widget>[],
})

Implementation

Column({
  MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start,
  MainAxisSize mainAxisSize = MainAxisSize.max,
  CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
  VerticalDirection verticalDirection = VerticalDirection.down,
  List<Widget> children = const <Widget>[],
}) : super(
        children: children,
        direction: Axis.vertical,
        mainAxisAlignment: mainAxisAlignment,
        mainAxisSize: mainAxisSize,
        crossAxisAlignment: crossAxisAlignment,
        verticalDirection: verticalDirection,
      );