CardViewProperties

@Serializable
data class CardViewProperties(val viewType: ViewType, 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 clickable: String = "true", val visible: String = "true", val opacity: Float? = null, val content: List<ViewProperties> = emptyList(), val elevation: Int = 5, val cornerSize: Int = 6, val header: CompoundTextProperties? = null, val headerBackgroundColor: String = "#F2F4F7", val headerAction: CompoundTextProperties? = null, val emptyContentMessage: String = "", val contentPadding: Int = 16) : ViewProperties, Parcelable

Constructors

Link copied to clipboard
constructor(viewType: ViewType, weight: Float = 0.0f, backgroundColor: String? = null, padding: Int = 0, borderRadius: Int = 2, alignment: ViewAlignment = ViewAlignment.NONE, fillMaxWidth: Boolean = false, fillMaxHeight: Boolean = false, clickable: String = "true", visible: String = "true", opacity: Float? = null, content: List<ViewProperties> = emptyList(), elevation: Int = 5, cornerSize: Int = 6, header: CompoundTextProperties? = null, headerBackgroundColor: String = "#F2F4F7", headerAction: CompoundTextProperties? = null, emptyContentMessage: String = "", contentPadding: Int = 16)

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
Link copied to clipboard
Link copied to clipboard
val cornerSize: Int = 6
Link copied to clipboard
val elevation: Int = 5
Link copied to clipboard
Link copied to clipboard
open override val fillMaxHeight: Boolean = false
Link copied to clipboard
open override val fillMaxWidth: Boolean = false
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val opacity: Float? = null
Link copied to clipboard
open override val padding: Int = 0
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>): CardViewProperties
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)