DefaultTextLabelStyle
object 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
Link copied to clipboard
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