PrimaryButtonTypography

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

Constructors

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

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.

Functions

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