TextEditingDeltaInsertion class Null safety

A structure representing an insertion of a single/or contigous sequence of characters at some offset of an editing state.

Inheritance
Annotations

Constructors

TextEditingDeltaInsertion({required String oldText, required String textInserted, required int insertionOffset, required TextSelection selection, required TextRange composing})
Creates an insertion delta for a given change to the editing state. [...]
const

Properties

composing TextRange
The range of text that is still being composed after the delta has been applied.
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
insertionOffset int
The offset in the oldText where the insertion begins.
final
oldText String
The old text state before the delta has occurred.
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
selection TextSelection
The range of text that is currently selected after the delta has been applied.
final, inherited
textInserted String
The text that is being inserted into oldText.
final

Methods

apply(TextEditingValue value) TextEditingValue
This method will take the given TextEditingValue and return a new TextEditingValue with that instance of TextEditingDelta applied to it.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited