Builder

class Builder(val title: String)

Set the title of the form

Constructors

Link copied to clipboard
constructor(title: String)

Properties

Link copied to clipboard
var description: String?
Link copied to clipboard
var required: Boolean
Link copied to clipboard
var skipButtonText: String?
Link copied to clipboard
var submitButtonText: String?
Link copied to clipboard
val title: String
Link copied to clipboard
var toggles: List<Toggle>

Functions

Link copied to clipboard
Link copied to clipboard
fun setDescription(description: String?): PhoneInput.Builder

Set the description of the form

Link copied to clipboard
fun setRequired(required: Boolean): PhoneInput.Builder

Set whether this form is required

Link copied to clipboard
fun setSkipButtonText(skipButtonText: String?): PhoneInput.Builder

Modify the skip button text

Link copied to clipboard
fun setSubmitButtonText(submitButtonText: String?): PhoneInput.Builder

Modify the submit button text

Link copied to clipboard
fun setToggles(toggles: List<Toggle>): PhoneInput.Builder

Set the toggles to display on the form