getFontFromTextStart static method

UnicodeFont getFontFromTextStart(
  1. String text
)

Tries to determine the font from the first character of the given text.

Implementation

static UnicodeFont getFontFromTextStart(final String text) =>
    getFont(text, fromStart: true);