CompoundTextProperties

@Serializable
data class CompoundTextProperties(val viewType: ViewType = ViewType.COMPOUND_TEXT, val weight: Float = 0.0f, val backgroundColor: String? = null, val padding: Int = 0, val borderRadius: Int = 2, val alignment: ViewAlignment = ViewAlignment.NONE, val fillMaxWidth: Boolean = false, val fillMaxHeight: Boolean = false, val opacity: Float? = null, val clickable: String = "false", val visible: String = "true", val primaryText: String? = null, val primaryTextColor: String? = null, val secondaryText: String? = null, val secondaryTextColor: String? = null, val separator: String? = null, val fontSize: Float = 16.0f, val primaryTextBackgroundColor: String? = null, val secondaryTextBackgroundColor: String? = null, val primaryTextFontWeight: TextFontWeight = TextFontWeight.NORMAL, val secondaryTextFontWeight: TextFontWeight = TextFontWeight.NORMAL, val primaryTextActions: List<ActionConfig> = emptyList(), val secondaryTextActions: List<ActionConfig> = emptyList(), val maxLines: Int = Int.MAX_VALUE, val colorOpacity: Float = 1.0f, val textCase: TextCase? = null, val overflow: TextOverFlow? = null, val letterSpacing: Int = 0) : ViewProperties, Parcelable

Constructors

Link copied to clipboard
constructor(viewType: ViewType = ViewType.COMPOUND_TEXT, weight: Float = 0.0f, backgroundColor: String? = null, padding: Int = 0, borderRadius: Int = 2, alignment: ViewAlignment = ViewAlignment.NONE, fillMaxWidth: Boolean = false, fillMaxHeight: Boolean = false, opacity: Float? = null, clickable: String = "false", visible: String = "true", primaryText: String? = null, primaryTextColor: String? = null, secondaryText: String? = null, secondaryTextColor: String? = null, separator: String? = null, fontSize: Float = 16.0f, primaryTextBackgroundColor: String? = null, secondaryTextBackgroundColor: String? = null, primaryTextFontWeight: TextFontWeight = TextFontWeight.NORMAL, secondaryTextFontWeight: TextFontWeight = TextFontWeight.NORMAL, primaryTextActions: List<ActionConfig> = emptyList(), secondaryTextActions: List<ActionConfig> = emptyList(), maxLines: Int = Int.MAX_VALUE, colorOpacity: Float = 1.0f, textCase: TextCase? = null, overflow: TextOverFlow? = null, letterSpacing: Int = 0)

Properties

Link copied to clipboard
open override val alignment: ViewAlignment
Link copied to clipboard
open override val backgroundColor: String? = null
Link copied to clipboard
open override val borderRadius: Int = 2
Link copied to clipboard
open override val clickable: String
Link copied to clipboard
val colorOpacity: Float = 1.0f
Link copied to clipboard
open override val fillMaxHeight: Boolean = false
Link copied to clipboard
open override val fillMaxWidth: Boolean = false
Link copied to clipboard
val fontSize: Float = 16.0f
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val opacity: Float? = null
Link copied to clipboard
val overflow: TextOverFlow? = null
Link copied to clipboard
open override val padding: Int = 0
Link copied to clipboard
val primaryText: String? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val secondaryText: String? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val separator: String? = null
Link copied to clipboard
val textCase: TextCase? = null
Link copied to clipboard
open override val viewType: ViewType
Link copied to clipboard
open override val visible: String
Link copied to clipboard
open override val weight: Float = 0.0f

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
open override fun interpolate(computedValuesMap: Map<String, Any>): CompoundTextProperties
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)