DeltaTextInputService class

Mixed in types

Constructors

DeltaTextInputService({required Future<void> onInsert(TextEditingDeltaInsertion insertion), required Future<void> onDelete(TextEditingDeltaDeletion deletion), required Future<void> onReplace(TextEditingDeltaReplacement replacement), required Future<void> onNonTextUpdate(TextEditingDeltaNonTextUpdate nonTextUpdate), required Future<void> onPerformAction(TextInputAction action)})

Properties

attached bool
no setter
composingTextRange TextRange?
getter/setter pair
contentInsertionConfiguration ContentInsertionConfiguration?
finalinherited
currentAutofillScope AutofillScope?
The AutofillScope this TextInputClient belongs to, if any.
no setteroverride
currentTextEditingValue TextEditingValue?
The current state of the TextEditingValue held by this client.
getter/setter pairoverride-getter
hashCode int
The hash code for this object.
no setterinherited
onDelete Future<void> Function(TextEditingDeltaDeletion deletion)
getter/setter pairinherited
onFloatingCursor ↔ (Future<void> Function(RawFloatingCursorPoint point)?)
getter/setter pairinherited
onInsert Future<void> Function(TextEditingDeltaInsertion insertion)
getter/setter pairinherited
onNonTextUpdate Future<void> Function(TextEditingDeltaNonTextUpdate nonTextUpdate)
getter/setter pairinherited
onPerformAction Future<void> Function(TextInputAction action)
getter/setter pairinherited
onReplace Future<void> Function(TextEditingDeltaReplacement replacement)
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

apply(List<TextEditingDelta> deltas) Future<void>
Applies insertion, deletion and replacement to the text currently being edited.
attach(TextEditingValue textEditingValue, TextInputConfiguration configuration) → void
Updates the TextEditingValue of the text currently being edited.
close() → void
Closes the editing state of the text currently being edited.
connectionClosed() → void
Platform notified framework of closed connection.
override
didChangeInputControl(TextInputControl? oldControl, TextInputControl? newControl) → void
The framework calls this method to notify that the text input control has been changed.
override
insertContent(KeyboardInsertedContent content) → void
Notify client about new content insertion from Android keyboard.
override
insertTextPlaceholder(Size size) → void
Requests that the client add a text placeholder to reserve visual space in the text.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
performAction(TextInputAction action) Future<void>
Requests that this client perform the given action.
override
performPrivateCommand(String action, Map<String, dynamic> data) → void
Request from the input method that this client perform the given private command.
override
performSelector(String selectorName) → void
Performs the specified MacOS-specific selector from the NSStandardKeyBindingResponding protocol or user-specified selector from DefaultKeyBinding.Dict.
override
removeTextPlaceholder() → void
Requests that the client remove the text placeholder.
override
showAutocorrectionPromptRect(int start, int end) → void
Requests that this client display a prompt rectangle for the given text range, to indicate the range of text that will be changed by a pending autocorrection.
override
showToolbar() → void
Requests that the client show the editing toolbar, for example when the platform changes the selection through a non-flutter method such as scribble.
override
toString() String
A string representation of this object.
inherited
updateCaretPosition(Size size, Matrix4 transform, Rect rect) → void
updateEditingValue(TextEditingValue value) → void
Requests that this client update its editing state to the given value.
override
updateEditingValueWithDeltas(List<TextEditingDelta> textEditingDeltas) → void
Requests that this client update its editing state by applying the deltas received from the engine.
override
updateFloatingCursor(RawFloatingCursorPoint point) → void
Updates the floating cursor position and state.
override

Operators

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