TextBlock class Null safety

Inheritance

Constructors

TextBlock.fromMap(Map data)

Properties

boundingBox Rect?
Returns the axis-aligned bounding rectangle of the detected text.
read / writeinherited
corners List<Offset>?
Gets the four corner points in clockwise direction starting with top-left.
read / writeinherited
hashCode int
The hash code for this object.
read-onlyinherited
lines List<TextLine>?
Gets an unmodifiable list of Lines that make up this text block.
read / write
recognizedLanguage String?
Gets prevailing language in the text, if any. There is data only on Android
read / writeinherited
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
read / writeinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
text String?
Gets the recognized text in the TextElementTextLineTextBlock.
read / writeinherited

Methods

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

Operators

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