ParcelableFont
data class ParcelableFont(@FontRes val resId: Int, val weight: FontWeight = FontWeight.Normal, val style: FontStyle = FontStyle.Normal) : Parcelable
Parcelable version of Font that can be used in ParcelableUiTypography. Customizations are limited to the most important Font parameters.
Constructors
Link copied to clipboard
constructor(@FontRes resId: Int, weight: FontWeight = FontWeight.Normal, style: FontStyle = FontStyle.Normal)
Properties
Link copied to clipboard
Font style. Defaults to FontStyle.Normal.
Link copied to clipboard
Font weight. Defaults to FontWeight.Normal.