WithImageAndText
Properties
Link copied to clipboard
The KalugaBackgroundStyle of the button in the state
Link copied to clipboard
the KalugaColor to render the text in for the given state
Functions
Link copied to clipboard
Link copied to clipboard
open fun setBackgroundStyle(backgroundColor: KalugaColor = DefaultColors.clear, shape: KalugaBackgroundStyle.Shape = KalugaBackgroundStyle.Shape.Rectangle())
Sets backgroundStyle to a KalugaBackgroundStyle with KalugaBackgroundStyle.FillStyle.Solid based on a backgroundColor and shape
Link copied to clipboard
Sets ButtonStateStyle.WithImage.image to ButtonImage.Image for the given image
Sets ButtonStateStyle.WithImage.image to ButtonImage.Tinted for the given image
Sets ButtonStateStyle.WithImage.image to ButtonImage.Tinted for the given image and tint