init(LocalizedStringKey , destination: () -> Destination)
Creates a navigation link that presents a destination view, with a text label that the link generates from a localized string key.
Available when
Label
is Text
and Destination
conforms to View
.init<S>(S, destination: () -> Destination)
Creates a navigation link that presents a destination view, with a text label that the link generates from a title string.
Available when
Label
is Text
and Destination
conforms to View
.init(destination: () -> Destination, label: () -> Label)
Creates a navigation link that presents the destination view.