SwiftstructHomeAccessoryControlUI

struct HomeAccessoryControlUI.PickerButtonControlView

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 6

  1. fieldvar _isEnabled: SwiftUI.Environment<Bool>
  2. fieldvar _showSelectionView: SwiftUI.State<Bool>
  3. fieldvar _state: SwiftUI.Binding<HomeAccessoryControlUI.AccessoryControl.PickerButtonState?>
  4. fieldlet animationNamespace: SwiftUI.Namespace.ID
  5. fieldlet config: HomeAccessoryControlUI.AccessoryControl.PickerButtonViewConfig
  6. typealiastypealias Body = SwiftUI.ModifiedContent<HomeAccessoryControlUI.StatusButtonView<HomeAccessoryControlUI.PickerButtonControlView.AutoSizingSubtitleView>, SwiftUI.SheetPresentationModifier<SwiftUI.PresentationConditionalProjection.Item, HomeAccessoryControlUI.SelectionPickerView, SwiftUI.NullSheetAnchor<SwiftUI.SheetPreference.Key>>>
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
    }
}