DropletText

A Text with a droplet's own word, looked up the way String(dropletLocalized:) does (DroppyKit 1.23.0).

@MainActor struct DropletText

DropletText("Time zones")
    .droppyWidgetText(.title)

Available from DroppyKit 1.23.0.

Initializers

init(_:bundle:dso:)

@MainActor init(_ key: String, bundle: Bundle? = nil, dso: UnsafeRawPointer = #dsohandle)

Creates the text.

  • Parameters:
  • key: The catalog key.
  • bundle: The bundle to read; nil finds your droplet's own.
  • dso: Filled in by the compiler; never pass it.

Properties

body

@MainActor var body: some View { get }