DeltaTextInputClient mixin
An interface to receive granular information from TextInput.
See also:
- TextInput.attach
- TextInputConfiguration, to opt-in to receive TextEditingDelta's from the platforms TextInput you must set TextInputConfiguration.enableDeltaModel to true.
- Implemented types
Properties
- currentAutofillScope → AutofillScope?
-
The AutofillScope this TextInputClient belongs to, if any.
no setterinherited
- currentTextEditingValue → TextEditingValue?
-
The current state of the TextEditingValue held by this client.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
connectionClosed(
) → void -
Platform notified framework of closed connection.
inherited
-
didChangeInputControl(
TextInputControl? oldControl, TextInputControl? newControl) → void -
The framework calls this method to notify that the text input control has
been changed.
inherited
-
insertContent(
KeyboardInsertedContent content) → void -
Notify client about new content insertion from Android keyboard.
inherited
-
insertTextPlaceholder(
Size size) → void -
Requests that the client add a text placeholder to reserve visual space
in the text.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
performAction(
TextInputAction action) → void -
Requests that this client perform the given action.
inherited
-
performPrivateCommand(
String action, Map< String, dynamic> data) → void -
Request from the input method that this client perform the given private
command.
inherited
-
performSelector(
String selectorName) → void -
Performs the specified MacOS-specific selector from the
NSStandardKeyBindingResponding
protocol or user-specified selector fromDefaultKeyBinding.Dict
.inherited -
removeTextPlaceholder(
) → void -
Requests that the client remove the text placeholder.
inherited
-
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.
inherited
-
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.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateEditingValue(
TextEditingValue value) → void -
Requests that this client update its editing state to the given value.
inherited
-
updateEditingValueWithDeltas(
List< TextEditingDelta> textEditingDeltas) → void - Requests that this client update its editing state by applying the deltas received from the engine.
-
updateFloatingCursor(
RawFloatingCursorPoint point) → void -
Updates the floating cursor position and state.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited