TextBlock class

Inheritance

Constructors

TextBlock.fromMap(Map data)

Properties

boundingBox Rect?
Returns the axis-aligned bounding rectangle of the detected text.
getter/setter pairinherited
corners List<Offset>?
Gets the four corner points in clockwise direction starting with top-left.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
lines List<TextLine>?
Gets an unmodifiable list of Lines that make up this text block.
getter/setter pair
recognizedLanguage String?
Gets prevailing language in the text, if any. There is data only on Android
getter/setter pairinherited
recognizedLanguages List<String>?
Detected language from text recognition. The ISO 639-1 two-letter language code if that is defined (e.g. “en”), or else the ISO 639-2 three-letter code if that is defined, or else a Google-specific code. There is data only on IOS There is data only in block and lines, and element is null
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String?
Gets the recognized text in the TextElementTextLineTextBlock.
getter/setter pairinherited

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