Widget.row constructor Null safety
- {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}
Implementation
const factory Widget.row({
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,
}) = Row;