ColorQueryEvent class final

Represent a Color event response from OSC 11

Inheritance
Annotations
  • @immutable

Constructors

ColorQueryEvent(int code, int r, int g, int b, {int? index})
Constructs a new instance of ColorQueryEvent.
const

Properties

b int
The blue color value.
final
code int
The OSC selector identifying which color was queried.
final
g int
The green color value.
final
hashCode int
The hash code for this object.
no setteroverride
index int?
Palette index for indexed-color replies — OSC 4 (OSC 4 ; index ; rgb:…) and OSC 5 special colors — whose replies carry an extra index beyond the code. null for the dynamic colors above.
final
r int
The red color value.
final
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.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override