alignment property

NavigationRailAlignment alignment
final

Alignment of items within the rail's main axis.

Controls how navigation items are distributed along the rail's primary direction (vertical or horizontal). Options include start, center, and end alignment.

Implementation

final NavigationRailAlignment alignment;