function fmt()
Creates a view builder for a toggle element with localizable or dynamic text.
function fmt(text: StringConvertible, ...args: Binding[]): ToggleBuilder;
Parameters
- text — The text to display, passed to fmt() or Binding.fmt().
- args — Additional bindings used to format the text dynamically.
Return value
A builder instance for chaining.
Related
function toggleBuilder() static
Creates a view builder for a toggle (checkbox/switch) element.
