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
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