DefaultButtonStyle

Functions

Link copied to clipboard
fun lightOutline(text: String = "", @StringRes textId: Int? = null, @ColorLong contentColor: Long = LightStyleConstants.focusedBorderColor, @ColorLong containerColor: Long = ButtonStyleConstants.colorTransparent, @ColorLong disabledContentColor: Long = LightStyleConstants.focusedBorderColor, @ColorLong disabledContainerColor: Long = ButtonStyleConstants.colorTransparent, shape: Shape = Shape.RoundCorner, cornerRadius: CornerRadius = CornerRadius(BorderConstants.radius), borderStroke: BorderStroke? = BorderStroke( BorderConstants.unfocusedBorderThickness, ButtonStyleConstants.outlineStrokeColor, ), contentPadding: Padding = ButtonStyleConstants.outlineContentPadding, leadingIconStyle: ImageStyle? = null, trailingIconStyle: ImageStyle? = null, margin: Margin? = null, fontWeight: FontWeight = FontWeight.Normal): ButtonStyle
Link copied to clipboard
fun lightSolid(text: String = "", @StringRes textId: Int? = null, @ColorLong contentColor: Long = LightStyleConstants.focusedBorderColor, @ColorLong containerColor: Long = ButtonStyleConstants.colorTransparent, @ColorLong disabledContentColor: Long = LightStyleConstants.focusedBorderColor, @ColorLong disabledContainerColor: Long = ButtonStyleConstants.colorTransparent, shape: Shape = Shape.RoundCorner, cornerRadius: CornerRadius = CornerRadius(BorderConstants.radius), contentPadding: Padding = ButtonStyleConstants.solidContentPadding, leadingIconStyle: ImageStyle? = null, trailingIconStyle: ImageStyle? = null, margin: Margin? = null, fontWeight: FontWeight = FontWeight.Normal): ButtonStyle