TextInput class Null safety

An low-level interface to the system's text input control.

See also:

  • TextField, a widget in which the user may enter text.


hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toString() String
Returns a string representation of this object.


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

Static Methods

attach(TextInputClient client, TextInputConfiguration configuration) TextInputConnection
Begin interacting with the text input control. [...]
finishAutofillContext({bool shouldSave: true}) → void
Finishes the current autofill context, and potentially saves the user input for future use if shouldSave is true. [...]
setChannel(MethodChannel newChannel) → void
Set the MethodChannel used to communicate with the system's text input control. [...]