.navigationDestination
Also written: navigationDestination(for:)
A modifier that says which screen to build when a link carrying a value of a given type is tapped. It must sit inside the NavigationStack.
Also written: navigationDestination(for:)
A modifier that says which screen to build when a link carrying a value of a given type is tapped. It must sit inside the NavigationStack.