8.6 Released with 🥽 visionOS support and more!
Check it out
Represents a text label.

Summary ​

Constructors

constructor

Properties

android
ios
textWrap
169 properties inherited from TextBase
Click to expand

Constructors ​

constructor ​

new Label(): Label

Properties ​

android ​

android: any
Gets the native [android widget](http://developer.android.com/reference/android/widget/TextView.html) that represents the user interface for this component. Valid only when running on Android OS.

ios ​

ios: any
Gets the native [UILabel](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UILabel_Class/) that represents the user interface for this component. Valid only when running on iOS.

textWrap ​

textWrap: boolean
Gets or sets whether the Label wraps text or not.