EasyLayoutRow constructor
const
EasyLayoutRow({
- Key? key,
- double? spacing,
- required List<
Widget> children, - MainAxisAlignment? alignment,
- MainAxisAlignment? mainAxisAlignment,
- CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.start,
- bool expand = true,
Implementation
const EasyLayoutRow({
Key? key,
this.spacing,
required this.children,
this.alignment,
this.mainAxisAlignment,
this.crossAxisAlignment = CrossAxisAlignment.start,
this.expand = true,
}) : assert(
alignment == null || mainAxisAlignment == null,
'`alignment` is deprecated. Use either `mainAxisAlignment`, or `alignment` for backward compatibility, but not both.',
),
super(key: key);