SwiftstructSnippetUI
struct SnippetUI.RFButtonStyle
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwiftUI.PrimitiveButtonStyle
Members 19
- field
var _background: SwiftUI.Environment<SwiftUI.AnyShapeStyle?> - field
var _buttonLabelFixedSize: SwiftUI.Environment<Bool> - field
var _buttonPaddingDisabled: SwiftUI.Environment<Bool> - field
var _colorScheme: SwiftUI.Environment<SwiftUI.ColorScheme> - field
var _componentType: SwiftUI.Environment<SnippetUI.ComponentType?> - field
var _constants: SnippetUI.EnvironmentConstant<SnippetUI.ButtonViewConstants> - field
var _containsComponentsWithActionSubject: SwiftUI.Environment<Combine.PassthroughSubject<Bool, Never>> - field
var _currentIdiom: SwiftUI.Environment<VRXIdiom> - field
var _dynamicTypeSize: SwiftUI.Environment<SwiftUI.DynamicTypeSize> - field
var _foreground: SwiftUI.Environment<SwiftUI.AnyShapeStyle?> - field
var _horizontalComponentPadding: SwiftUI.Environment<SnippetUI.CustomHorizontalComponentPadding> - field
var _role: SwiftUI.Environment<SnippetUI.ButtonItemButtonStyle.Role> - field
var _throttler: SwiftUI.StateObject<SnippetUI.ActionTapThrottler> - field
var _visualResponseLocation: SwiftUI.Environment<VRXVisualResponseLocation> - field
let hideIcon: Bool? - field
let margin: SwiftUI.EdgeInsets? - field
let style: SnippetUI.RFButtonStyle.Style - func
makeBody(configuration: SwiftUI.PrimitiveButtonStyleConfiguration) -> some SwiftUI.View - typealias
typealias Body = SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.Group<SwiftUI._ConditionalContent<SwiftUI._ConditionalContent<SwiftUI.AnyView, SwiftUI.AnyView>, SwiftUI.AnyView>>, SwiftUI._AppearanceActionModifier>, SnippetUI.ComponentTypeWritingModifier>
Header
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 }