TextElement class

Roughly equivalent to a space-separated "word."

The API separates elements into words in most Latin languages, but could separate by characters in others.

If a word is split between two lines by a hyphen, each part is encoded as a separate element.

Inheritance

Properties

boundingBox Rect?
Axis-aligned bounding rectangle of the detected text.
finalinherited
confidence double?
The confidence of the recognized text block.
finalinherited
cornerPoints List<Offset>
The four corner points in clockwise direction starting with top-left.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
recognizedLanguages List<RecognizedLanguage>
All detected languages from recognized text.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String?
The recognized text as a string.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited