HWRow
Horizontal layout of children.
HWRow
Arranges its children horizontally. The cross axis is vertical, the main axis is horizontal. The mirror of HWColumn.
HWFill(
child: HWRow(
mainAxisAlignment: HWMainAxisAlignment.spaceBetween,
children: [HWText.fixed('1'), HWText.fixed('2')],
),
)
mainAxisAlignment is implemented with Spacers on both platforms.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
children | List<HWWidget> | required | Widgets stacked left-to-right. |
crossAxisAlignment | HWCrossAxisAlignment? | null | Vertical alignment of children. |
mainAxisAlignment | HWMainAxisAlignment? | null | Horizontal distribution of children. |
See HWAlignment for the HWCrossAxisAlignment and HWMainAxisAlignment values.