VtRgbColor class final

RGB color value with 8-bit r, g, b channels.

const red = VtRgbColor(255, 0, 0);
print('Red: ${red.r}, Green: ${red.g}, Blue: ${red.b}');

Constructors

VtRgbColor(int r, int g, int b)
const
VtRgbColor.fromNative(GhosttyColorRgb native)
factory

Properties

b int
final
g int
final
hashCode int
The hash code for this object.
no setterinherited
r int
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.
override

Operators

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