textDeleted property

String get textDeleted

The text from oldText that is being deleted.

Implementation

String get textDeleted => oldText.substring(deletedRange.start, deletedRange.end);