Class

BackNavigationBehavior.PopUntilScaffoldValueChange

Pop destinations from the backstack until there is a change in the scaffold value.

Android
PopUntilScaffoldValueChange,

Pop destinations from the backstack until there is a change in the scaffold value.

For example, in a single-pane layout, this will skip entries until the current destination is a different ThreePaneScaffoldRole. In a multi-pane layout, this will skip entries until the PaneAdaptedValue of any pane changes.