SpacerProperties

@Serializable
data class SpacerProperties(val viewType: ViewType = ViewType.SPACER, val weight: Float = 0.0f, val backgroundColor: String? = "#FFFFFF", 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 height: Float? = null, val width: Float? = null) : ViewProperties, Parcelable

Constructors

Link copied to clipboard
constructor(viewType: ViewType = ViewType.SPACER, weight: Float = 0.0f, backgroundColor: String? = "#FFFFFF", 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", height: Float? = null, width: Float? = null)

Properties

Link copied to clipboard
open override val alignment: ViewAlignment
Link copied to clipboard
open override val backgroundColor: String?
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
val height: Float? = null
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
Link copied to clipboard
val width: Float? = null

Functions

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