FlutterInput class
Input delivered inside the app by glint's agent: pointer events into GestureBinding, edits into the focused EditableText.
Constructors
- FlutterInput(FlutterRuntime runtime)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastError ↔ String?
-
The agent's own error after an FlutterInputMiss.evalFailed or a partial edit, for the reply.
getter/setter pair
- lastPartial ↔ ({int delivered, int of})?
-
How much of the last partial edit landed:
deliveredofof.getter/setter pair - lastTimeout ↔ Duration?
-
How long the VM was given when the last call got no answer in time; null when it failed another way.
getter/setter pair
- runtime → FlutterRuntime
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
key(
String key, {int count = 1}) → Future< FlutterInputMiss?> -
Presses an editing key (
keyis aKeyNamename)counttimes in the focused Flutter field; null when delivered. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pinch(
double cx, double cy, double from, double to, int ms) → Future< FlutterInputMiss?> -
Two pointers around logical
cx,cygoing fromfromtotoapart overms; null when delivered. -
selectAll(
) → Future< FlutterInputMiss?> - Selects all text in the focused Flutter field; null when delivered.
-
toString(
) → String -
A string representation of this object.
inherited
-
touch(
List< ({int ms, double x, double y})> points) → Future<FlutterInputMiss?> -
Sends one touch through
points(logical x, y, ms after the first); null when it was delivered. -
type(
String text, {int gapMs = 0}) → Future< FlutterInputMiss?> -
Types
textinto the focused Flutter field, one character per edit so formatters see each keystroke; null when delivered.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
editingKeys
→ const Set<
String> - Keys with a text-editing equivalent the agent applies itself.
- inputTimeoutMs → const int
- How long the app has to take an input before glint calls it busy; the agent drops an input that only runs later.