PrimaryButtonTypography

data class PrimaryButtonTypography(@FontRes val fontResId: Int? = null, val fontSizeSp: Float? = null) : Parcelable

Constructors

Link copied to clipboard
fun PrimaryButtonTypography(context: Context, fontResId: Int? = null, fontSizeSp: Int)
Link copied to clipboard
fun PrimaryButtonTypography(@FontRes fontResId: Int? = null, fontSizeSp: Float? = null)

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

Link copied to clipboard
val fontResId: Int? = null

The font used in the primary button. Note: If 'null', Appearance.Typography.fontResId is used.

Link copied to clipboard
val fontSizeSp: Float? = null

The font size in the primary button. Note: If 'null', {@link Typography#sizeScaleFactor} is used.