PilotButton

open class PilotButton<T : Any>(val content: StateFlow<T>, val isEnabled: StateFlow<Boolean> = MutableStateFlow(true), val accessibilityInfo: StateFlow<PilotAccessibilityInfo?> = MutableStateFlow(null), val action: () -> Unit)

Constructors

Link copied to clipboard
constructor(content: StateFlow<T>, isEnabled: StateFlow<Boolean> = MutableStateFlow(true), accessibilityInfo: StateFlow<PilotAccessibilityInfo?> = MutableStateFlow(null), action: () -> Unit)

Properties

Link copied to clipboard
Link copied to clipboard
open val action: () -> Unit
Link copied to clipboard
open val content: StateFlow<T>
Link copied to clipboard
open val isEnabled: StateFlow<Boolean>