init(root:)
Creates a navigation stack that manages its own navigation state.
Declaration
@MainActor @preconcurrency init(@ViewBuilder 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.
@MainActor @preconcurrency init(@ViewBuilder root: () -> Root) where Data == NavigationPathThe view to display when the stack is empty.