TextStyle
data class TextStyle(@AnyRes val fontResource: Int = UNSET_FONT_RESOURCE, val fontAssetsPath: String? = null, val style: Int = Typeface.NORMAL, @Px val size: Int = UNSET_SIZE, @ColorInt val color: Int = UNSET_COLOR, val hint: String = UNSET_HINT, @ColorInt val hintColor: Int = UNSET_HINT_COLOR, val defaultFont: Typeface = Typeface.DEFAULT) : Serializable
Constructors
Link copied to clipboard
constructor(@AnyRes fontResource: Int = UNSET_FONT_RESOURCE, fontAssetsPath: String? = null, style: Int = Typeface.NORMAL, @Px size: Int = UNSET_SIZE, @ColorInt color: Int = UNSET_COLOR, hint: String = UNSET_HINT, @ColorInt hintColor: Int = UNSET_HINT_COLOR, defaultFont: Typeface = Typeface.DEFAULT)