InsertCharacterAtCaretRequest class
Inserts the given character at the current caret position.
If ignoreComposerAttributions is false, the current composer styles are applied
to the inserted character.
If the selection is expanded, the selection is deleted.
If the caret sits in a non-text node, a new paragraph is inserted below that node.
- Implemented types
Constructors
- InsertCharacterAtCaretRequest({required String character, bool ignoreComposerAttributions = false})
Properties
- character → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- ignoreComposerAttributions → bool
-
final
- newNodeId ↔ String
-
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited