groupAlignment property Null safety

double? groupAlignment
final

The vertical alignment for the group of destinations within the rail.

The NavigationRailDestinations are grouped together with the trailing widget, between the leading widget and the bottom of the rail.

The value must be between -1.0 and 1.0.

If groupAlignment is -1.0, then the items are aligned to the top. If groupAlignment is 0.0, then the items are aligned to the center. If groupAlignment is 1.0, then the items are aligned to the bottom.

The default is -1.0.

See also:

Implementation

final double? groupAlignment;