TextBlock class

A block of text (think of it as a paragraph) as deemed by the OCR engine.

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
lines List<TextLine>
The contents of the text block, broken down into individual lines.
final
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