init(root:)
Creates a navigation stack that manages its own navigation state.
Declaration
nonisolated init(@ContentBuilder root: () -> Root) where Data == NavigationPathParameters
- root:
The view to display when the stack is empty.
Creates a navigation stack that manages its own navigation state.
nonisolated init(@ContentBuilder root: () -> Root) where Data == NavigationPathThe view to display when the stack is empty.