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 = {})