class InputOtpProps
source · line 26public class InputOtpProps public constructor(
public val state: TextEditorState,
public val length: Long,
public val parts: Array<InputOtpPart> = [],
public val pattern: InputOtpPattern = InputOtpPattern.Digits,
public val enabled: Boolean = true,
public val readOnly: Boolean = false,
public val invalid: Boolean = false,
public val fonts: FontCollection? = None,
public val theme: ThemeSource? = None,
public val labelTarget: FieldTarget? = None,
public val focus: FocusOptions = FocusOptions(),
public val style: InputOtpStyle = inputOtpStyle(),
public val caretBlink: Duration? = None,
public val onEdited: (TextEditorState) -> Unit = { _ -> Unit },
public val onComplete: (TextEditorState) -> Unit = { _ -> Unit },
public val contextMenu: TextContextMenuOptions = TextContextMenuOptions(),
public val protectedText: Boolean = false,
public val acceptDrops: Boolean = true,
public val drag: TextDragOptions = TextDragOptions(),
public val touch: TextTouchOptions = TextTouchOptions(),
public val touchScroll: TouchScrollOptions = TouchScrollOptions(),
public val scrollPhysics: ScrollPhysicsOptions = ScrollPhysicsOptions(),
public val semantics: ComponentSemantics = ComponentSemantics(),
public val inputPurpose: TextInputPurpose? = None,
public val softwareKeyboard: Boolean = true,
public val primarySelection: TextPrimarySelectionOptions = TextPrimarySelectionOptions(),
public val automaticTextReplacement: Boolean = false
)
property onEdited
source · line 40public val onEdited: (TextEditorState) -> Unit = { _ -> Unit }
get: public read-only
property style
source · line 38public val style: InputOtpStyle = inputOtpStyle()
get: public read-only
property state
source · line 27public val state: TextEditorState
get: public read-only
property enabled
source · line 31public val enabled: Boolean = true
get: public read-only
property semantics
source · line 49public val semantics: ComponentSemantics = ComponentSemantics()
get: public read-only
property focus
source · line 37public val focus: FocusOptions = FocusOptions()
get: public read-only
property labelTarget
source · line 36public val labelTarget: FieldTarget? = None
get: public read-only
constructor constructor
source · line 26constructor(public val state: TextEditorState, public val length: Long, public val parts: Array<InputOtpPart> = [], public val pattern: InputOtpPattern = InputOtpPattern.Digits, public val enabled: Boolean = true, public val readOnly: Boolean = false, public val invalid: Boolean = false, public val fonts: FontCollection? = None, public val theme: ThemeSource? = None, public val labelTarget: FieldTarget? = None, public val focus: FocusOptions = FocusOptions(), public val style: InputOtpStyle = inputOtpStyle(), public val caretBlink: Duration? = None, public val onEdited: (TextEditorState) -> Unit = { _ -> Unit }, public val onComplete: (TextEditorState) -> Unit = { _ -> Unit }, public val contextMenu: TextContextMenuOptions = TextContextMenuOptions(), public val protectedText: Boolean = false, public val acceptDrops: Boolean = true, public val drag: TextDragOptions = TextDragOptions(), public val touch: TextTouchOptions = TextTouchOptions(), public val touchScroll: TouchScrollOptions = TouchScrollOptions(), public val scrollPhysics: ScrollPhysicsOptions = ScrollPhysicsOptions(), public val semantics: ComponentSemantics = ComponentSemantics(), public val inputPurpose: TextInputPurpose? = None, public val softwareKeyboard: Boolean = true, public val primarySelection: TextPrimarySelectionOptions = TextPrimarySelectionOptions(), public val automaticTextReplacement: Boolean = false)
parameter touchScroll
source · line 47public val touchScroll: TouchScrollOptions = TouchScrollOptions()
parameter pattern
source · line 30public val pattern: InputOtpPattern = InputOtpPattern.Digits
parameter theme
source · line 35public val theme: ThemeSource? = None
parameter parts
source · line 29public val parts: Array<InputOtpPart> = []
parameter style
source · line 38public val style: InputOtpStyle = inputOtpStyle()
parameter focus
source · line 37public val focus: FocusOptions = FocusOptions()
parameter state
source · line 27public val state: TextEditorState
parameter acceptDrops
source · line 44public val acceptDrops: Boolean = true
parameter enabled
source · line 31public val enabled: Boolean = true
parameter onEdited
source · line 40public val onEdited: (TextEditorState) -> Unit = { _ -> Unit }
parameter scrollPhysics
source · line 48public val scrollPhysics: ScrollPhysicsOptions = ScrollPhysicsOptions()
parameter labelTarget
source · line 36public val labelTarget: FieldTarget? = None
parameter softwareKeyboard
source · line 51public val softwareKeyboard: Boolean = true
parameter readOnly
source · line 32public val readOnly: Boolean = false
parameter drag
source · line 45public val drag: TextDragOptions = TextDragOptions()
parameter automaticTextReplacement
source · line 53public val automaticTextReplacement: Boolean = false
parameter inputPurpose
source · line 50public val inputPurpose: TextInputPurpose? = None
parameter primarySelection
source · line 52public val primarySelection: TextPrimarySelectionOptions = TextPrimarySelectionOptions()
parameter caretBlink
source · line 39public val caretBlink: Duration? = None
parameter invalid
source · line 33public val invalid: Boolean = false
parameter length
source · line 28public val length: Long
parameter protectedText
source · line 43public val protectedText: Boolean = false
parameter contextMenu
source · line 42public val contextMenu: TextContextMenuOptions = TextContextMenuOptions()
parameter touch
source · line 46public val touch: TextTouchOptions = TextTouchOptions()
parameter fonts
source · line 34public val fonts: FontCollection? = None
parameter onComplete
source · line 41public val onComplete: (TextEditorState) -> Unit = { _ -> Unit }
parameter semantics
source · line 49public val semantics: ComponentSemantics = ComponentSemantics()
property inputPurpose
source · line 50public val inputPurpose: TextInputPurpose? = None
get: public read-only
property invalid
source · line 33public val invalid: Boolean = false
get: public read-only
property touch
source · line 46public val touch: TextTouchOptions = TextTouchOptions()
get: public read-only
property parts
source · line 29public val parts: Array<InputOtpPart> = []
get: public read-only
property theme
source · line 35public val theme: ThemeSource? = None
get: public read-only
property caretBlink
source · line 39public val caretBlink: Duration? = None
get: public read-only
property contextMenu
source · line 42public val contextMenu: TextContextMenuOptions = TextContextMenuOptions()
get: public read-only
property onComplete
source · line 41public val onComplete: (TextEditorState) -> Unit = { _ -> Unit }
get: public read-only
property length
source · line 28public val length: Long
get: public read-only
property fonts
source · line 34public val fonts: FontCollection? = None
get: public read-only
property touchScroll
source · line 47public val touchScroll: TouchScrollOptions = TouchScrollOptions()
get: public read-only
property pattern
source · line 30public val pattern: InputOtpPattern = InputOtpPattern.Digits
get: public read-only
property softwareKeyboard
source · line 51public val softwareKeyboard: Boolean = true
get: public read-only
property primarySelection
source · line 52public val primarySelection: TextPrimarySelectionOptions = TextPrimarySelectionOptions()
get: public read-only
property drag
source · line 45public val drag: TextDragOptions = TextDragOptions()
get: public read-only
property acceptDrops
source · line 44public val acceptDrops: Boolean = true
get: public read-only
property protectedText
source · line 43public val protectedText: Boolean = false
get: public read-only
property scrollPhysics
source · line 48public val scrollPhysics: ScrollPhysicsOptions = ScrollPhysicsOptions()
get: public read-only
property automaticTextReplacement
source · line 53public val automaticTextReplacement: Boolean = false
get: public read-only
property readOnly
source · line 32public val readOnly: Boolean = false
get: public read-only