Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
open class PilotButton<T : Any>(val content: StateFlow<T>, val isEnabled: StateFlow<Boolean> = MutableStateFlow(true), val accessibilityInfo: StateFlow<PilotAccessibilityInfo?> = MutableStateFlow(null), val action: () -> Unit)
Link copied to clipboard
Link copied to clipboard
class PilotPicker<LABEL : Any, ITEM : Any>(val label: StateFlow<LABEL>, val items: StateFlow<List<ITEM>>, val onSelectedIndex: (Int) -> Unit)
Link copied to clipboard
data class PilotRemoteImage(val url: String?, val placeholder: PilotImageResource?, val contentDescription: String? = null)
Link copied to clipboard
data class PilotResizableRemoteImage(urlResolver: (width: Int?, height: Int?) -> String?, val placeholder: PilotImageResource? = null, val contentDescription: String? = null)
Link copied to clipboard
data class PilotRichText(val contents: List<PilotRichText.Content>)
Link copied to clipboard
data class PilotRichTextRange(val start: Int, val end: Int, val span: PilotRichTextSpan)
Link copied to clipboard
sealed interface PilotRichTextSpan
Link copied to clipboard
class PilotSwitch<T : Any>(val isOn: StateFlow<Boolean>, val label: T, val onCheckedChange: (Boolean) -> Unit = {})
Link copied to clipboard
open class PilotTextField(textFlow: MutableStateFlow<String>, val placeholder: StateFlow<String>, val keyboardType: StateFlow<PilotKeyboardType> = MutableStateFlow(PilotKeyboardType.Default), val keyboardReturnKeyType: StateFlow<PilotKeyboardReturnKeyType> = MutableStateFlow(PilotKeyboardReturnKeyType.Default), val contentType: StateFlow<PilotTextContentType> = MutableStateFlow(PilotTextContentType.NotSet), val autoCorrect: StateFlow<Boolean> = MutableStateFlow(true), val autoCapitalization: StateFlow<PilotKeyboardAutoCapitalization> = MutableStateFlow(PilotKeyboardAutoCapitalization.Sentences), val onReturnKeyTap: () -> Unit = {}, val formatText: (text: String) -> String = { it }, val unformatText: (text: String) -> String = { it }, val transformText: (text: String) -> String = { it })
Link copied to clipboard

Functions

Link copied to clipboard