expandedCrossAxisAlignment property

CrossAxisAlignment? expandedCrossAxisAlignment
final

Specifies the alignment of each child within children when the tile is expanded.

The internals of the expanded tile make use of a Column widget for children, and the crossAxisAlignment parameter is passed directly into the Column.

Modifying this property controls the cross axis alignment of each child within its Column. The width of the Column that houses children will be the same as the widest child widget in children. The width of the Column might not be equal to the width of the expanded tile.

To align the Column along the expanded tile, use the expandedAlignment property instead.

When the value is null, the value of expandedCrossAxisAlignment is CrossAxisAlignment.center.

Implementation

final CrossAxisAlignment? expandedCrossAxisAlignment;