Skip to content

AdaptiveScaffold.standardNavigationRail selectedIndex not nullable unlike normal NavigationRail #118888

@joshryandavis

Description

@joshryandavis

Steps to Reproduce

  1. Use AdaptiveScaffold.standardNavigationRail and set selectedIndex to null.
  2. Compare with using NavigationRail and setting selectedIndex to null.

Expected results: selectedIndex can be set to null when no page in navigation is active.

Actual results: selectedIndex cannot be set to null.

Code sample
Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listfound in release: 3.3Found to occur in 3.3found in release: 3.7Found to occur in 3.7has reproducible stepsThe issue has been confirmed reproducible and is ready to work onp: flutter_adaptive_scaffoldThe flutter_adaptive_scaffold packagepackageflutter/packages repository. See also p: labels.r: fixedIssue is closed as already fixed in a newer version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions