# TextLineResultItem

The `TextLineResultItem` class represents a single text line result item recognized by the library. It is derived from `CapturedResultItem` and is one of the base items of `RecognizedTextLinesResult`.

## Definition

*Assembly:* dynamsoft_capture_vision_flutter

```dart
class TextLineResultItem extends CapturedResultItem
```

*Inheritance:* [CapturedResultItem](https://www.dynamsoft.com/capture-vision/docs/mobile/programming/flutter/api-reference/core/captured-result-item.md) -> TextLineResultItem

## Properties

| Property | Types | Description |
| -------- | ----- | ----------- |
| [`text`](#text) | *String* | Returns the text content of the text line. |
| [`location`](#location) | *Quadrilateral* | Returns the location of the text line in the form of a quadrilateral. |
| [`confidence`](#confidence) | *int* | Returns the confidence of the text line recognition result. |
| [`characterResults`](#characterresults) | *List<CharacterResult>* | Get all the characters in the text line. Each character is represented by a [`CharacterResult`](/capture-vision/docs/mobile/programming/flutter/api-reference/core/character-result.html) object. |
| [`specificationName`](#specificationname) | *String* | Returns the name of the [`TextLineSpecification`](/capture-vision/docs/core/parameters/reference/text-line-specification/) object that generated this `TextLineResultItem`. |
| [`rawText`](#rawtext) | *String* | Returns the recognized raw text, excluding any concatenation separators. |

### text

Returns the text content of the individual text line.

```dart
String text;
```

### location

It is used to get the location of the text line in the form of a [Quadrilateral](https://www.dynamsoft.com/capture-vision/docs/mobile/programming/flutter/api-reference/core/quadrilateral.md).

```dart
Quadrilateral location;
```

### confidence

Returns the confidence of the individual text line recognition result.

```dart
int confidence;
```

### characterResults

Returns all the characters in the text line. Each character is represented by a [`CharacterResult`](/capture-vision/docs/mobile/programming/flutter/api-reference/core/character-result.html) object.

```dart
List<CharacterResult>? characterResults;
```

### specificationName

Returns the name of the [`TextLineSpecification`](/capture-vision/docs/core/parameters/reference/text-line-specification/) object that generated this `TextLineResultItem`.

```dart
String specificationName;
```

### rawText

Returns the recognized raw text, excluding any concatenation separators.

```dart
String rawText;
```
