DefaultTextLabelStyle

Functions

Link copied to clipboard
fun error(fontSize: Int = ErrorConstants.fontSize, font: Font = ErrorConstants.font, @ColorLong color: Long = ErrorConstants.color, leadingIconSize: Int = ErrorConstants.leadingIconSize, @DrawableRes leadingIconId: Int = R.drawable.cko_ic_error, padding: Padding = Padding(top = ErrorConstants.errorMessageTopPadding)): TextLabelStyle
Link copied to clipboard
fun headerTitle(fontSize: Int = HeaderTitleConstants.fontSize, fontWeight: FontWeight = FontWeight.Normal, font: Font = HeaderTitleConstants.font, @ColorLong color: Long = HeaderTitleConstants.textColor, padding: Padding = Padding(), maxLines: Int = HeaderTitleConstants.maxLines, leadingIconSize: Int = HeaderTitleConstants.leadingIconSize, leadingIconPadding: Padding = Padding()): TextLabelStyle
Link copied to clipboard
fun subtitle(text: String = "", @StringRes textId: Int? = null, fontSize: Int = SubtitleConstants.fontSize, font: Font = SubtitleConstants.font, @ColorLong color: Long = SubtitleConstants.color, padding: Padding = Padding(), maxLines: Int = Int.MAX_VALUE, lineHeight: Int? = null): TextLabelStyle
Link copied to clipboard
fun text(text: String = "", @StringRes textId: Int? = null, fontSize: Int = TextConstants.fontSize, font: Font = TextConstants.font, @ColorLong color: Long = TextConstants.color, padding: Padding = Padding(), maxLines: Int = Int.MAX_VALUE, lineHeight: Int? = null): TextLabelStyle
Link copied to clipboard
fun title(text: String = "", @StringRes textId: Int? = null, fontSize: Int = TitleConstants.fontSize, font: Font = TitleConstants.font, fontWeight: FontWeight = FontWeight.Normal, @ColorLong color: Long = TitleConstants.color, padding: Padding = Padding(), maxLines: Int = TitleConstants.maxLines, lineHeight: Int? = null, leadingIconStyle: ImageStyle? = null, trailingIconStyle: ImageStyle? = null): TextLabelStyle