androidx.ui.foundation.text

Top-level functions summary

Unit
SelectionContainer(selection: Selection?, onSelectionChange: (Selection?) -> Unit, mode: SelectionMode = SelectionMode.Vertical, children: () -> Unit)

Selection Composable.

Top-level functions

SelectionContainer

@Composable fun SelectionContainer(
    selection: Selection?,
    onSelectionChange: (Selection?) -> Unit,
    mode: SelectionMode = SelectionMode.Vertical,
    children: () -> Unit
): Unit

Selection Composable.

The selection composable wraps composables and let them to be selectable. It paints the selection area with start and end handles.