setPreviewText

open fun setPreviewText(text: String)

Sets the text displayed in the preview area.

The @text is used to show how the selected font looks.

Parameters

text

the text to display in the preview area