VtStyle class final

Fully resolved terminal cell style.

Constructors

VtStyle({required VtStyleColor foreground, required VtStyleColor background, required VtStyleColor underlineColor, required bool bold, required bool italic, required bool faint, required bool blink, required bool inverse, required bool invisible, required bool strikethrough, required bool overline, required GhosttySgrUnderline underline})
const
VtStyle.fromNative(GhosttyStyle native)
factory

Properties

background VtStyleColor
final
final
bold bool
final
faint bool
final
foreground VtStyleColor
final
hashCode int
The hash code for this object.
no setterinherited
inverse bool
final
invisible bool
final
isDefault bool
Whether this style matches the Ghostty default style exactly.
no setter
italic bool
final
overline bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
strikethrough bool
final
underline GhosttySgrUnderline
final
underlineColor VtStyleColor
final

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

Static Methods

defaults() VtStyle
Returns the Ghostty default terminal style.