Widget.column constructor Null safety

const Widget.column(
  1. {Key? key,
  2. @Default(MainAxisAlignment.start) MainAxisAlignment mainAxisAlignment,
  3. @Default(MainAxisSize.max) MainAxisSize mainAxisSize,
  4. @Default(CrossAxisAlignment.center) CrossAxisAlignment crossAxisAlignment,
  5. TextDirection? textDirection,
  6. @Default(VerticalDirection.down) VerticalDirection verticalDirection,
  7. TextBaseline? textBaseline,
  8. @Default([]) List<Widget> children}
)

Implementation

const factory Widget.column({
  Key? key,
  @Default(MainAxisAlignment.start) MainAxisAlignment mainAxisAlignment,
  @Default(MainAxisSize.max) MainAxisSize mainAxisSize,
  @Default(CrossAxisAlignment.center) CrossAxisAlignment crossAxisAlignment,
  TextDirection? textDirection,
  @Default(VerticalDirection.down) VerticalDirection verticalDirection,
  TextBaseline? textBaseline,
  @Default([]) List<Widget> children,
}) = Column;