expandedCrossAxisAlignment property Null safety

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. Note that the width of the Column that houses children will be the same as the widest child widget in children. It is not necessarily the width of Column is equal to the width of 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;