TextInputConnection class Null safety

An interface for interacting with a text input control.

See also:


attached bool
Whether this connection is currently interacting with the text input control.
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


close() → void
Stop interacting with the text input control. [...]
connectionClosedReceived() → void
Platform sent a notification informing the connection is closed. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
requestAutofill() → void
Requests the system autofill UI to appear. [...]
setEditableSizeAndTransform(Size editableBoxSize, Matrix4 transform) → void
Send the size and transform of the editable text to engine. [...]
setEditingState(TextEditingValue value) → void
Requests that the text input control change its internal state to match the given state.
setStyle({required String? fontFamily, required double? fontSize, required FontWeight? fontWeight, required TextDirection textDirection, required TextAlign textAlign}) → void
Send text styling information. [...]
show() → void
Requests that the text input control become visible.
toString() String
Returns a string representation of this object.


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

Static Methods

debugResetId({int to: 1}) → void
Resets the internal ID counter for testing purposes. [...]