SelectionState

sealed class SelectionState

Selection State of the input field (selection, cursor position)

Inheritors

Types

Link copied to clipboard

if the input field is initially focused, cursor will be placed at the end

Link copied to clipboard

default input field behaviour

Link copied to clipboard

if the input field is initially focused the whole text will be selected

Link copied to clipboard
class Selection(val start: Int, val end: Int) : DialogInput.SelectionState

if the input field is initially focused, the defined range of the text will be selected