ImageProperties

@Serializable
data class ImageProperties(val viewType: ViewType = ViewType.IMAGE, val weight: Float = 0.0f, val backgroundColor: String? = null, val padding: Int = -1, val borderRadius: Int = 2, val alignment: ViewAlignment = ViewAlignment.NONE, val fillMaxWidth: Boolean = false, val fillMaxHeight: Boolean = false, val clickable: String = "false", val visible: String = "true", val opacity: Float? = null, val tint: String? = null, val text: String? = null, val imageConfig: ImageConfig? = null, val size: Int? = 22, val shape: ImageShape? = null, val textColor: String? = null, val actions: List<ActionConfig> = emptyList()) : ViewProperties, Parcelable

Constructors

Link copied to clipboard
constructor(viewType: ViewType = ViewType.IMAGE, weight: Float = 0.0f, backgroundColor: String? = null, padding: Int = -1, borderRadius: Int = 2, alignment: ViewAlignment = ViewAlignment.NONE, fillMaxWidth: Boolean = false, fillMaxHeight: Boolean = false, clickable: String = "false", visible: String = "true", opacity: Float? = null, tint: String? = null, text: String? = null, imageConfig: ImageConfig? = null, size: Int? = 22, shape: ImageShape? = null, textColor: String? = null, actions: List<ActionConfig> = emptyList())

Properties

Link copied to clipboard
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
open override val fillMaxHeight: Boolean = false
Link copied to clipboard
open override val fillMaxWidth: Boolean = false
Link copied to clipboard
Link copied to clipboard
open override val opacity: Float? = null
Link copied to clipboard
open override val padding: Int
Link copied to clipboard
val shape: ImageShape? = null
Link copied to clipboard
val size: Int? = 22
Link copied to clipboard
val text: String? = null
Link copied to clipboard
val textColor: String? = null
Link copied to clipboard
val tint: String? = 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>): ViewProperties
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)