expandedAlignment property

Alignment? expandedAlignment
final

Specifies the alignment of children, which are arranged in a column when the tile is expanded.

The internals of the expanded tile make use of a Column widget for children, and Align widget to align the column. The expandedAlignment parameter is passed directly into the Align.

Modifying this property controls the alignment of the column within the expanded tile, not the alignment of children widgets within the column. To align each child within children, see expandedCrossAxisAlignment.

The width of the column is the width of the widest child widget in children.

If this property is null then ExpansionTileThemeData.expandedAlignmentis used. If that is also null then the value of expandedAlignment is Alignment.center.

See also:

Implementation

final Alignment? expandedAlignment;