ViewStyleProps

ViewStyleProps

data class ViewStyleProps

Fields

Name Description
val background: BackgroundProperty?
val borderColor: String?
val borderRadius: List<Double>?
val borderWidth: Double?
val fontColor: String?
val fontFamily: List<String>?
val fontSize: Double?
val fontWeight: FontWeight?
val margin: List<Double>?
val padding: List<Double>?

Constructors

<init>

constructor(background: BackgroundProperty?, borderColor: String?, borderRadius: List<Double>?, borderWidth: Double?, fontColor: String?, fontFamily: List<String>?, fontSize: Double?, fontWeight: FontWeight?, margin: List<Double>?, padding: List<Double>?)

Parameters

Name Description
background: BackgroundProperty?
borderColor: String?
borderRadius: List<Double>?
borderWidth: Double?
fontColor: String?
fontFamily: List<String>?
fontSize: Double?
fontWeight: FontWeight?
margin: List<Double>?
padding: List<Double>?

Methods

validate

fun validate(): String?

ReturnValue

Name Description
String?