TextInputConnectionDecorator class abstract

Base class for TextInputConnection decorators.

A decorator is an object that forwards calls to another, existing implementation of a given interface, but adds or alters some of those behaviors.

Implemented types
Implementers

Properties

attached bool
Whether this connection is currently interacting with the text input control.
no setteroverride
client TextInputConnection?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scribbleInProgress bool
Whether there is currently a Scribble interaction in progress.
no setteroverride

Methods

close() → void
Stop interacting with the text input control.
override
connectionClosedReceived() → void
Platform sent a notification informing the connection is closed.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requestAutofill() → void
Requests the system autofill UI to appear.
override
setCaretRect(Rect rect) → void
Sends the coordinates of caret rect. This is used on macOS for positioning the accent selection menu.
override
setComposingRect(Rect rect) → void
Send the smallest rect that covers the text in the client that's currently being composed.
override
setEditableSizeAndTransform(Size editableBoxSize, Matrix4 transform) → void
Send the size and transform of the editable text to engine.
override
setEditingState(TextEditingValue value) → void
Requests that the text input control change its internal state to match the given state.
override
setSelectionRects(List<SelectionRect> selectionRects) → void
Send the bounding boxes of the current selected glyphs in the client to the platform's text input plugin.
override
setStyle({required String? fontFamily, required double? fontSize, required FontWeight? fontWeight, required TextDirection textDirection, required TextAlign textAlign}) → void
Send text styling information.
override
show() → void
Requests that the text input control become visible.
override
toString() String
A string representation of this object.
inherited
updateConfig(TextInputConfiguration configuration) → void
Requests that the text input control update itself according to the new TextInputConfiguration.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited