RewireableEngineBinding class abstract
Implemented by bindings (typically test fakes) that allow rewiring their
callbacks after construction. Production bindings like FrbEngineBinding
take callbacks in their constructor and do NOT mix this in — they're wired
once by EngineFactory and never rebound.
- Implemented types
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onBell ← void Function()?
-
no getter
- onClipboard ← void Function(String)?
-
no getter
- onClipboardLoad ← void Function()?
-
no getter
- onNotify ← void Function(String)?
-
no getter
- onPtyWrite ← void Function(Uint8List)?
-
no getter
- onTitle ← void Function(String)?
-
no getter
- onWorkingDir ← void Function(String)?
-
no getter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
advance(
Uint8List bytes) → Future< void> -
inherited
-
advanceAndTakeDamage(
Uint8List bytes) → Future< GridUpdate> -
Parse PTY bytes and return damage in one FFI hop (preferred hot path).
inherited
-
clearHistory(
) → void -
inherited
-
dispose(
) → void -
inherited
-
fullSnapshot(
) → GridUpdate -
Full viewport snapshot (sync). Used after resize when damage is
Full.inherited -
fullSnapshotSearched(
) → GridUpdate -
Full viewport snapshot with search match flags applied.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pumpEvents(
) → void -
Drain queued terminal→host events and dispatch them (PtyWrite/Title/…).
Kept on the binding so the client stays free of FRB event types.
inherited
-
reconfigure(
EngineConfig config) → void -
inherited
-
resize(
int columns, int rows) → void -
inherited
-
resolveHyperlink(
int id) → String? -
inherited
-
respondClipboardLoad(
String text) → void -
inherited
-
scrollLines(
int delta) → Future< void> -
inherited
-
scrollPixels(
double deltaPx) → Future< void> -
Sub-cell pixel scroll. Positive
deltaPxscrolls up into history.inherited -
scrollToBottom(
) → Future< void> -
inherited
-
searchClear(
) → void -
inherited
-
searchNext(
) → bool -
inherited
-
searchPrev(
) → bool -
inherited
-
searchSet(
String pattern) → bool -
inherited
-
selectionClear(
) → void -
inherited
-
selectionStart(
int displayRow, int col, bool rightHalf, int kind) → void -
inherited
-
selectionText(
) → String? -
inherited
-
selectionUpdate(
int displayRow, int col, bool rightHalf) → void -
inherited
-
setCellPixels(
int width, int height) → void -
inherited
-
takeDamage(
) → Future< GridUpdate> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited