BackgroundColorProbe class final

Best-effort probe for terminal theme state before the first frame.

This avoids an initial adaptive-theme flash where widgets default to a dark palette until an OSC 11 or color-scheme response arrives later.

Implemented types

Constructors

BackgroundColorProbe({Duration timeout = const Duration(milliseconds: 120)})
Creates a background-color probe.

Properties

gateNonCriticalMessages → bool
When true, the runner buffers non-critical messages while isActive.
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
isActive → bool
Whether the probe is currently active and should receive messages.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timeout → Duration
Maximum time to wait for a terminal response.
final

Methods

abort() → void
Aborts the probe early.
override
handleMsg(Msg msg, StartupProbeContext ctx) → bool
Lets the probe observe/intercept messages while active.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
start(StartupProbeContext ctx) → Future<void>
Starts the probe.
override
toString() → String
A string representation of this object.
inherited

Operators

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