BackgroundColorMsg class final

Message containing the terminal's background color.

Only emitted when UV input decoding is enabled and the terminal reports a background color (OSC 11).

Inheritance

Constructors

BackgroundColorMsg({required String hex})
Creates a background color detection message from a hex color string.
const

Properties

dropWhenInputQueued → bool
Whether this message can be dropped when fresher user input is queued.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
hex → String
The background color reported by the terminal (hex string).
final
isDark → bool
Whether the terminal background is dark (luminance < 0.5).
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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