Contents

init(root:)

Creates a navigation stack that manages its own navigation state.

Declaration

nonisolated init(@ContentBuilder root: () -> Root) where Data == NavigationPath

Parameters

  • root:

    The view to display when the stack is empty.