SwiftstructHomeAccessoryControlUI
PickerButtonControlView
struct HomeAccessoryControlUI.PickerButtonControlView
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwiftUI.View
Members 6
- field
var _isEnabled: SwiftUI.Environment<Bool> - field
var _showSelectionView: SwiftUI.State<Bool> - field
var _state: SwiftUI.Binding<HomeAccessoryControlUI.AccessoryControl.PickerButtonState?> - field
let animationNamespace: SwiftUI.Namespace.ID - field
let config: HomeAccessoryControlUI.AccessoryControl.PickerButtonViewConfig - typealias
typealias Body = SwiftUI.ModifiedContent<HomeAccessoryControlUI.StatusButtonView<HomeAccessoryControlUI.PickerButtonControlView.AutoSizingSubtitleView>, SwiftUI.SheetPresentationModifier<SwiftUI.PresentationConditionalProjection.Item, HomeAccessoryControlUI.SelectionPickerView, SwiftUI.NullSheetAnchor<SwiftUI.SheetPreference.Key>>>
Header
struct PickerButtonControlView { @Observation.Observable class PickerViewState { // synthesized from the storage `_currentState` that @Observable generated; the property's own accessors are stripped var currentState: HomeAccessoryControlUI.AccessoryControl.PickerButtonState? let config: HomeAccessoryControlUI.AccessoryControl.PickerButtonViewConfig // synthesized from the storage `_updateBlock` that @Observable generated; the property's own accessors are stripped var updateBlock: (_: HomeAccessoryControlUI.AccessoryControl.PickerButtonState) -> ()? // synthesized from the storage `_allRoomsSelected` that @Observable generated; the property's own accessors are stripped var allRoomsSelected: Swift.Bool // synthesized from the storage `_stateUpdated` that @Observable generated; the property's own accessors are stripped var stateUpdated: Swift.Bool // synthesized from the storage `_hasOptionsSelected` that @Observable generated; the property's own accessors are stripped var hasOptionsSelected: Swift.Bool } struct AutoSizingSubtitleView { let selectedOptions: [Swift.String] } let animationNamespace: SwiftUI.Namespace.ID // synthesized from the backing storage `_state`; the property's own accessors are stripped @SwiftUI.Binding var state: HomeAccessoryControlUI.AccessoryControl.PickerButtonState? { get set } let config: HomeAccessoryControlUI.AccessoryControl.PickerButtonViewConfig // synthesized from the backing storage `_showSelectionView`; the property's own accessors are stripped @SwiftUI.State var showSelectionView: Swift.Bool { get set } // synthesized from the backing storage `_isEnabled`; the property's own accessors are stripped @SwiftUI.Environment var isEnabled: Swift.Bool { get } }