Text

data class Text(val value: String, val alignCenterHorizontally: Boolean = false) : Parcelable

Custom text.

Parameters

value

Text value.

alignCenterHorizontally

Indicates whether the text should be horizontally center-aligned. Default value is false.

Constructors

Link copied to clipboard
constructor(value: String, alignCenterHorizontally: Boolean = false)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)