TextInputConnection class

An interface for interacting with a text input control.

See also:

Properties

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

Methods

close() → void
Stop interacting with the text input control. [...]
connectionClosedReceived() → void
Platform sent a notification informing the connection is closed. [...]
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({String fontFamily, double fontSize, FontWeight fontWeight, TextDirection textDirection, TextAlign textAlign}) → void
Send text styling information. [...]
show() → void
Requests that the text input control become visible.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Static Methods

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