guessDirection method

TextDirection guessDirection({
  1. bool isHtml = false,
})

Guesses the text directionality based on its content, optionally considering HTML markup.

Implementation

TextDirection guessDirection({bool isHtml = false}) =>
    Bidi.estimateDirectionOfText(this, isHtml: isHtml);