TextBlock class

Represents a TextBlock object of Ml Kit

Inheritance

Constructors

TextBlock.new({required List<TextLine> lines})
TextBlock.fromTextBlock(TextBlock textBlock, Size imageSize)
Returns an instance of TextBlock from a given textBlock.
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
lines List<TextLine>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
finalinherited
trapezoid Trapezoid
finalinherited

Methods

copyWith({List<TextLine>? lines}) TextBlock
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.
override