SwiftstructHomeAccessoryControlUI

struct HomeAccessoryControlUI.DecorationControlView

Structure

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

inherits{}

Members 3

  1. fieldlet appearance: HomeAccessoryControlUI.DecorationControlView.Appearance
  2. fieldlet control: HomeAccessoryControlUI.AccessoryControl
  3. typealiastypealias Body = SwiftUI.Group<SwiftUI._ConditionalContent<HomeAccessoryControlUI.DecorationControlView.PickerControlView<HomeAccessoryControlUI.DecorationControlView.ButtonAppearanceContent>, SwiftUI.EmptyView>>
struct DecorationControlView {
    enum Appearance {
        case button(HomeAccessoryControlUI.DecorationButtonConfig)
    }
    enum PaddingStyle {
        case concentric
        case staticPadding
    }
    struct ButtonAppearanceContent {
        let config: HomeAccessoryControlUI.DecorationButtonConfig
        let control: HomeAccessoryControlUI.AccessoryControl
        // synthesized from the backing storage `_fontSize`; the property's own accessors are stripped
        @SwiftUI.ScaledMetric var fontSize: CoreGraphics.CGFloat {
            get
        }
        // synthesized from the backing storage `_enabled`; the property's own accessors are stripped
        @SwiftUI.Environment var enabled: Swift.Bool {
            get
        }
    }
    struct PickerControlView<A> where A: SwiftUI.View {
        let config: HomeAccessoryControlUI.AccessoryControl.PickerViewConfig
        let state: HomeAccessoryControlUI.ControlBinding<HomeAccessoryControlUI.AccessoryControl.PickerState?>
        let label: A
    }
    struct OverlayModifier {
        let controlGroups: [HomeAccessoryControlUI.AccessoryControlGroup]
        // synthesized from the backing storage `_style`; the property's own accessors are stripped
        @SwiftUI.Environment var style: HomeAccessoryControlUI.AccessoryControlsStyle {
            get
        }
        // synthesized from the backing storage `_paddingStyle`; the property's own accessors are stripped
        @SwiftUI.Environment var paddingStyle: HomeAccessoryControlUI.DecorationControlView.PaddingStyle {
            get
        }
    }
    let appearance: HomeAccessoryControlUI.DecorationControlView.Appearance
    let control: HomeAccessoryControlUI.AccessoryControl
}