getTextWidth

external fun getTextWidth(text: String, style: TextState): Int

Get text width

Parameters

text

Text that will be measured.

style

Text style.