NavigationViewDestination

@MainActor
public final class NavigationViewDestination<UserInteractionType, ViewDestinationType, PresentationConfigurationType, InteractorType> : NavigatingViewDestinationable where UserInteractionType : UserInteractionTypeable, ViewDestinationType : NavigatingDestinationInterfacing, PresentationConfigurationType : DestinationPresentationConfiguring, InteractorType : InteractorTypeable

A Destination class whose associated user interface is a View which contains a NavigationStack.

This is a generic Destination that can be used to represent most NavigationStack-based Views in a SwiftUI-based app.