BackDestination

@Serializable
open class BackDestination(val result: Destination.Result? = null, val args: Destination.Args = Destination.Args()) : Destination

Pass this as parameter to the NavigationController.navigate to return to the previous screen in the current backstack.

Parameters

result

The result that will be passed to the destination when navigating back.

Constructors

Link copied to clipboard
constructor(result: Destination.Result? = null, args: Destination.Args = Destination.Args())

Properties

Link copied to clipboard
open override val args: Destination.Args
Link copied to clipboard