ZegoLabelInfo.text constructor

ZegoLabelInfo.text(
  1. String text
)

Build a label info object with text.

Implementation

ZegoLabelInfo.text(this.text)
    : left = 0,
      top = 0,
      font = ZegoFontStyle.defaultStyle();