FormToggleItemStyle

public struct FormToggleItemStyle : FormValueItemStyle

Contains the styling customization options for a switch item in a form.

  • The title style.

    Declaration

    Swift

    public var title: TextStyle
  • The color of onTintColor of switch.

    Declaration

    Swift

    public var tintColor: UIColor?
  • The color for separator element. If value is nil, the default color would be used.

    Declaration

    Swift

    public var separatorColor: UIColor?
  • Initializes the form switch item style.

    Declaration

    Swift

    public init(title: TextStyle)

    Parameters

    title

    The title style.

  • Initializes the form switch item style with the default style.

    Declaration

    Swift

    public init()