TextElement class
Properties
boundingBox
↔ Rect ?
Returns the axis-aligned bounding rectangle of the detected text.
getter/setter pair
corners
↔ List <Offset > ?
Gets the four corner points in clockwise direction starting with top-left.
getter/setter pair
hashCode
→ int
The hash code for this object.
no setter inherited
recognizedLanguage
↔ String ?
Gets prevailing language in the text, if any.
There is data only on Android
getter/setter pair
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 pair
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
text
↔ String ?
Gets the recognized text in the TextElement 、TextLine 、TextBlock .
getter/setter pair
Methods
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString ()
→ String
A string representation of this object.
inherited
fl_mlkit_text_recognize 3.2.2