TextBlock class
Represents a distinct paragraph or block of text detected by OCR.
Constructors
Properties
- boundingBox → Rect?
-
Bounding box rectangle in image pixel coordinates.
final
- confidence → double
-
Detection confidence score (0.0 to 1.0).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
lines
→ List<
TextLine> -
Individual text lines inside this block.
final
- recognizedLanguage → String?
-
Recognized language BCP-47 tag.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → String
-
The full raw text of the block.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited