@State var selectedFooBar: FooBar? = .bar
selection binding type should be nullable
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: