Structure

ButtonToggleStyle

A toggle style that displays as a button with its label as the title.

Declaration 宣言

struct ButtonToggleStyle

Overview 概要

Use the button static variable to create this style:


Toggle(isOn: $isFlagged) {
    Label("Flag", systemImage: "flag.fill")
}
.toggleStyle(.button)

Topics 話題

Getting the Toggle Style

Creating a Button Toggle Style

Rendering a Toggle トグルを描出する

Default Implementations 省略時実装

Relationships 関係

Conforms To 次に準拠

See Also 参照

Supporting Types 支援を行う型