ImeConnectionWithUpdateCount class

A TextInputConnection that tracks the number of content updates, to verify within tests.

Inheritance

Properties

attached → bool
Whether this connection is currently interacting with the text input control.
no setterinherited
client ↔ TextInputConnection?
getter/setter pairinherited
contentUpdateCount → int
no setter
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 setterinherited

Methods

close() → void
Stop interacting with the text input control.
inherited
connectionClosedReceived() → void
Platform sent a notification informing the connection is closed.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requestAutofill() → void
Requests the system autofill UI to appear.
inherited
setCaretRect(Rect rect) → void
Sends the coordinates of caret rect. This is used on macOS for positioning the accent selection menu.
inherited
setComposingRect(Rect rect) → void
Send the smallest rect that covers the text in the client that's currently being composed.
inherited
setEditableSizeAndTransform(Size editableBoxSize, Matrix4 transform) → void
Send the size and transform of the editable text to engine.
inherited
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.
inherited
setStyle({required String? fontFamily, required double? fontSize, required FontWeight? fontWeight, required TextDirection textDirection, required TextAlign textAlign}) → void
Send text styling information.
inherited
show() → void
Requests that the text input control become visible.
inherited
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.
inherited
updateStyle(TextInputStyle style) → void
Send text styling information.
inherited

Operators

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