Type Property 型プロパティ

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 宣言

static var plain: PlainButtonStyle { get }
Available when Self is PlainButtonStyle.

Discussion 議論

To apply this style to a button, or to a view that contains buttons, use the buttonStyle(_:) modifier. このスタイルをボタンに、またはボタンを含むビューに適用するには、buttonStyle(_:)修飾子を使ってください。