Skip to content

[NavigationRail] Add mainAxisAlignment property #97280

@thunderstorm010

Description

@thunderstorm010

Use case

NavigationRail is built for big screens, so when we use one, we may want to space it evenly, so it looks better.

Proposal

Add a mainAxisAlignment parameter to NavigationRail's constructor, and pass it to the underlying column.

Metadata

Metadata

Assignees

Labels

P3Issues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterf: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.good first issueRelatively approachable for first-time contributorsteam-designOwned by Design Languages teamtriaged-designTriaged by Design Languages team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions