DropletSettingsPage

The root of one of your droplet's own Settings pages (DroppyKit 1.13.0).

@MainActor struct DropletSettingsPage<Content> where Content : View

The whole page, not a part of one: the grouped Form every page of Droppy's Settings is, scrolling on its own, with your sections in it. Build it from the same kit a DropletSettingsPane is built from, and put sections and cards straight inside it, never a stack.

DropletSettingsPage {
    DropletSettingsSection {
        settingsSectionHeader("Cities")
    } content: {
        DropletSettingsCard { ... }
    }
}

A page whose own views are a SwiftUI Form with .formStyle(.grouped) already is one; return it as it is.

Initializers

init(content:)

@MainActor init(@ViewBuilder content: () -> Content)

Creates a page from its sections and cards.

Properties

body

@MainActor var body: some View { get }