TextInputClient mixin Null safety
An interface to receive information from TextInput.
If TextInputConfiguration.enableDeltaModel is set to true, DeltaTextInputClient must be implemented instead of this class.
See also:
- TextInput.attach
- EditableText, a TextInputClient implementation.
- DeltaTextInputClient, a TextInputClient extension that receives granular information from the platform's text input.
- Mixin Applications
Properties
- currentTextEditingValue → TextEditingValue?
-
The current state of the TextEditingValue held by this client.
read-only
- currentAutofillScope → AutofillScope?
-
The AutofillScope this TextInputClient belongs to, if any.
read-only
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
connectionClosed(
) → void - Platform notified framework of closed connection.
-
insertTextPlaceholder(
Size size) → void - Requests that the client add a text placeholder to reserve visual space in the text.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
performAction(
TextInputAction action) → void - Requests that this client perform the given action.
-
performPrivateCommand(
String action, Map< String, dynamic> data) → void - Request from the input method that this client perform the given private command.
-
removeTextPlaceholder(
) → void - Requests that the client remove the text placeholder.
-
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.
-
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.
-
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.
-
updateFloatingCursor(
RawFloatingCursorPoint point) → void - Updates the floating cursor position and state.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited