AsyncTextButton

data class AsyncTextButton(val title: String, val enabled: Boolean = true, shape: ComposeValue<Shape> = { ButtonDefaults.shape }, containerColor: ComposeValue<Color> = { ButtonDefaults.buttonColors().containerColor }, textColor: ComposeValue<Color> = { ButtonDefaults.buttonColors().contentColor }, contentPadding: PaddingValues = ButtonDefaults.ContentPadding, coroutineScope: ComposeValue<CoroutineScope> = { rememberCoroutineScope() }, val action: suspend () -> Unit = {}) : ComposableContent

Constructors

Link copied to clipboard
constructor(title: String, enabled: Boolean = true, shape: ComposeValue<Shape> = { ButtonDefaults.shape }, containerColor: ComposeValue<Color> = { ButtonDefaults.buttonColors().containerColor }, textColor: ComposeValue<Color> = { ButtonDefaults.buttonColors().contentColor }, contentPadding: PaddingValues = ButtonDefaults.ContentPadding, coroutineScope: ComposeValue<CoroutineScope> = { rememberCoroutineScope() }, action: suspend () -> Unit = {})

Properties

Link copied to clipboard
val action: suspend () -> Unit
Link copied to clipboard
val enabled: Boolean = true
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun Content(modifier: Modifier)
open fun Content()