textReplaced property

String get textReplaced

The original text that is being replaced in oldText.

Implementation

String get textReplaced => oldText.substring(replacedRange.start, replacedRange.end);