SwiftstructSnippetUI

struct SnippetUI.RFButtonStyle

Structure

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

Members 19

  1. fieldvar _background: SwiftUI.Environment<SwiftUI.AnyShapeStyle?>
  2. fieldvar _buttonLabelFixedSize: SwiftUI.Environment<Bool>
  3. fieldvar _buttonPaddingDisabled: SwiftUI.Environment<Bool>
  4. fieldvar _colorScheme: SwiftUI.Environment<SwiftUI.ColorScheme>
  5. fieldvar _componentType: SwiftUI.Environment<SnippetUI.ComponentType?>
  6. fieldvar _constants: SnippetUI.EnvironmentConstant<SnippetUI.ButtonViewConstants>
  7. fieldvar _containsComponentsWithActionSubject: SwiftUI.Environment<Combine.PassthroughSubject<Bool, Never>>
  8. fieldvar _currentIdiom: SwiftUI.Environment<VRXIdiom>
  9. fieldvar _dynamicTypeSize: SwiftUI.Environment<SwiftUI.DynamicTypeSize>
  10. fieldvar _foreground: SwiftUI.Environment<SwiftUI.AnyShapeStyle?>
  11. fieldvar _horizontalComponentPadding: SwiftUI.Environment<SnippetUI.CustomHorizontalComponentPadding>
  12. fieldvar _role: SwiftUI.Environment<SnippetUI.ButtonItemButtonStyle.Role>
  13. fieldvar _throttler: SwiftUI.StateObject<SnippetUI.ActionTapThrottler>
  14. fieldvar _visualResponseLocation: SwiftUI.Environment<VRXVisualResponseLocation>
  15. fieldlet hideIcon: Bool?
  16. fieldlet margin: SwiftUI.EdgeInsets?
  17. fieldlet style: SnippetUI.RFButtonStyle.Style
  18. funcmakeBody(configuration: SwiftUI.PrimitiveButtonStyleConfiguration) -> some SwiftUI.View
  19. typealiastypealias Body = SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.Group<SwiftUI._ConditionalContent<SwiftUI._ConditionalContent<SwiftUI.AnyView, SwiftUI.AnyView>, SwiftUI.AnyView>>, SwiftUI._AppearanceActionModifier>, SnippetUI.ComponentTypeWritingModifier>
struct RFButtonStyle {
    enum Style {
        case standard
        case circularIconOnly
        case circularIconAndTitle
    }
    struct ButtonStyleSelectorModifier {
        let role: SnippetUI.ButtonItemButtonStyle.Role
        let foreground: SwiftUI.AnyShapeStyle?
        let background: SwiftUI.AnyShapeStyle?
        let hideIcon: Swift.Bool?
        // synthesized from the backing storage `_currentIdiom`; the property's own accessors are stripped
        @SwiftUI.Environment var currentIdiom: __C.VRXIdiom {
            get
        }
    }
    let margin: SwiftUI.EdgeInsets?
    let style: SnippetUI.RFButtonStyle.Style
    let hideIcon: Swift.Bool?
    // synthesized from the backing storage `_throttler`; the property's own accessors are stripped
    @SwiftUI.StateObject var throttler: SnippetUI.ActionTapThrottler {
        get
    }
    // synthesized from the backing storage `_buttonPaddingDisabled`; the property's own accessors are stripped
    @SwiftUI.Environment var buttonPaddingDisabled: Swift.Bool {
        get
    }
    // 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 `_currentIdiom`; the property's own accessors are stripped
    @SwiftUI.Environment var currentIdiom: __C.VRXIdiom {
        get
    }
    // synthesized from the backing storage `_role`; the property's own accessors are stripped
    @SwiftUI.Environment var role: SnippetUI.ButtonItemButtonStyle.Role {
        get
    }
    // synthesized from the backing storage `_foreground`; the property's own accessors are stripped
    @SwiftUI.Environment var foreground: SwiftUI.AnyShapeStyle? {
        get
    }
    // synthesized from the backing storage `_background`; the property's own accessors are stripped
    @SwiftUI.Environment var background: SwiftUI.AnyShapeStyle? {
        get
    }
    // synthesized from the backing storage `_buttonLabelFixedSize`; the property's own accessors are stripped
    @SwiftUI.Environment var buttonLabelFixedSize: Swift.Bool {
        get
    }
    // synthesized from the backing storage `_containsComponentsWithActionSubject`; the property's own accessors are stripped
    @SwiftUI.Environment var containsComponentsWithActionSubject: Combine.PassthroughSubject<Swift.Bool, Swift.Never> {
        get
    }
    // synthesized from the backing storage `_horizontalComponentPadding`; the property's own accessors are stripped
    @SwiftUI.Environment var horizontalComponentPadding: SnippetUI.CustomHorizontalComponentPadding {
        get
    }
    // synthesized from the backing storage `_visualResponseLocation`; the property's own accessors are stripped
    @SwiftUI.Environment var visualResponseLocation: __C.VRXVisualResponseLocation {
        get
    }
    // synthesized from the backing storage `_dynamicTypeSize`; the property's own accessors are stripped
    @SwiftUI.Environment var dynamicTypeSize: SwiftUI.DynamicTypeSize {
        get
    }
    // synthesized from the backing storage `_componentType`; the property's own accessors are stripped
    @SwiftUI.Environment var componentType: SnippetUI.ComponentType? {
        get
    }
    var _constants: SnippetUI.EnvironmentConstant<SnippetUI.ButtonViewConstants>

    func makeBody(configuration: SwiftUI.PrimitiveButtonStyleConfiguration) -> some SwiftUI.View
}