PopUpToBuilder


@NavOptionsDsl
class PopUpToBuilder


DSL for customizing NavOptionsBuilder.popUpTo operations.

Summary

Public constructors

Public properties

Boolean

Whether the popUpTo destination should be popped from the back stack.

Boolean

Whether the back stack and the state of all destinations between the current destination and the NavOptionsBuilder.popUpTo ID should be saved for later restoration via NavOptionsBuilder.restoreState or the restoreState attribute using the same NavOptionsBuilder.popUpTo ID (note: this matching ID is true whether inclusive is true or false).

Public constructors

PopUpToBuilder

Added in 1.0.0
PopUpToBuilder()

Public properties

inclusive

Added in 1.0.0
var inclusiveBoolean

Whether the popUpTo destination should be popped from the back stack.

saveState

var saveStateBoolean

Whether the back stack and the state of all destinations between the current destination and the NavOptionsBuilder.popUpTo ID should be saved for later restoration via NavOptionsBuilder.restoreState or the restoreState attribute using the same NavOptionsBuilder.popUpTo ID (note: this matching ID is true whether inclusive is true or false).