IconButtonDefaults
object IconButtonDefaults
Functions
Link copied to clipboard
fun buttonColors(backgroundColor: Color = Color.Unspecified, contentColor: Color = Color.Unspecified, disabledBackgroundColor: Color = Color.Unspecified, disabledContentColor: Color = Color.Unspecified): ButtonColors
Creates a ButtonColors instance to define the background and content colors for an icon button.
Link copied to clipboard
fun containedButtonColors(backgroundColor: Color = Color.Unspecified, contentColor: Color = Color.Unspecified, containerColor: Color = KPDesign.colors.colorSurface, disabledBackgroundColor: Color = Color.Unspecified, disabledContentColor: Color = KPDesign.colors.colorOnSurfaceVariant1, disabledContainerColor: Color = KPDesign.colors.colorBackground): ContainedIconButtonColors
Creates a ContainedIconButtonColors instance to define the background, content, and container colors for a contained icon button.