Button.kt |
Base component for buttons.
@param text The button text to be displayed.
@param textColor [Color] to apply to the button text.
@param backgroundColor The background [Color] of the button.
@param modifier [Modifier] to be applied to the layout.
@param enabled Controls the enabled state of the button.
When false, this button will not be clickable.
@param icon Optional [Painter] used to display a [Icon] before the button text.
@param iconModifier [Modifier] to be applied to the icon.
@param tint Tint [Color] to be applied to the icon.
@param onClick Invoked when the user clicks on the button.
|
9279 |
FloatingActionButton.kt |
Floating action button.
@param icon [Painter] icon to be displayed inside the action button.
@param modifier [Modifier] to be applied to the action button.
@param contentDescription The content description to describe the icon.
@param label Text to be displayed next to the icon.
@param elevation [FloatingActionButtonElevation] used to resolve the elevation for this FAB in different states.
This controls the size of the shadow below the FAB.
@param onClick Invoked when the button is clicked.
|
3687 |
RadioButton.kt |
Radio Button.
@param selected [Boolean] indicating whether the radio button is selected or not.
@param modifier [Modifier] to be applied to the radio button.
@param enabled [Boolean] that controls if radio button is selectable.
@param onClick Invoked when the radio button is clicked.
|
3686 |
TextButton.kt |
Text-only button.
@param text The button text to be displayed.
@param onClick Invoked when the user clicks on the button.
@param modifier [Modifier] Used to shape and position the underlying [androidx.compose.material.TextButton].
@param textColor [Color] to apply to the button text.
|
1673 |