Contents

plain

A button style that doesn’t style or decorate its content while idle, but may apply a visual effect to indicate the pressed, focused, or enabled state of the button.

Declaration

@MainActor @preconcurrency static var plain: PlainButtonStyle { get }

Discussion

To apply this style to a button, or to a view that contains buttons, use the buttonStyle(_:) modifier.

See Also

Getting built-in button styles