TextBlock constructor

const TextBlock({
  1. required String text,
  2. List<TextLine> lines = const [],
  3. Rect? boundingBox,
  4. double confidence = 1.0,
  5. String? recognizedLanguage,
})

Implementation

const TextBlock({
  required this.text,
  this.lines = const [],
  this.boundingBox,
  this.confidence = 1.0,
  this.recognizedLanguage,
});