focusedValue(_:)
Sets the focused value for the given object type.
Declaration
nonisolated func focusedValue<T>(_ object: T?) -> some View where T : AnyObject, T : Observable
Mentioned in
Discussion
To read this value, use the FocusedValue property wrapper.