79447350

Date: 2025-02-18 06:55:22
Score: 1.5
Natty:
Report link

In a Flutter layout with a Row and Column, use the property CrossAxisAlignment.start in both widgets to align all the text at the same height. Example:

dart Copy Edit Row( crossAxisAlignment: CrossAxisAlignment.start, children: [ Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ Text('Item 1'), Text('Item 2'), ], ), Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ Text('Description 1'), Text('Description 2'), ], ), ], )

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Amelia John