Text

constructor(value: String, alignCenterHorizontally: Boolean = false)

Parameters

value

Text value.

alignCenterHorizontally

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