SwiftstructWidgetKit

struct WidgetKit.WidgetPreferredColorSchemeModifier

Structure

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

inherits{}

Members 4

  1. fieldvar __contentPreferredColorScheme: SwiftUI.LazyState<SwiftUI.ColorScheme?>
  2. fieldvar _allowsContentPreferredColorScheme: SwiftUI.Environment<Bool>
  3. fieldvar _colorScheme: SwiftUI.Environment<SwiftUI.ColorScheme>
  4. typealiastypealias Body = SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI._ViewModifier_Content<WidgetKit.WidgetPreferredColorSchemeModifier>, SwiftUI._EnvironmentKeyWritingModifier<SwiftUI.ColorScheme>>, SwiftUI._PreferenceActionModifier<SwiftUI.PreferredColorSchemeKey>>
struct WidgetPreferredColorSchemeModifier {
    // synthesized from the backing storage `_colorScheme`; the property's own accessors are stripped
    @SwiftUI.Environment var colorScheme: SwiftUI.ColorScheme {
        get
    }
    // synthesized from the backing storage `_allowsContentPreferredColorScheme`; the property's own accessors are stripped
    @SwiftUI.Environment var allowsContentPreferredColorScheme: Swift.Bool {
        get
    }
    // synthesized from the backing storage `__contentPreferredColorScheme`; the property's own accessors are stripped
    @SwiftUI.LazyState var _contentPreferredColorScheme: SwiftUI.ColorScheme? {
        get
        set
    }
}