GhosttyTerminalResolvedStyle class final
Resolved cell style derived from Ghostty render-state data.
- Annotations
Constructors
- GhosttyTerminalResolvedStyle({required Color foreground, required Color background, required Color underlineColor, GhosttyTerminalColor? foregroundToken, GhosttyTerminalColor? backgroundToken, GhosttyTerminalColor? underlineColorToken, required bool bold, required bool italic, required bool blink, required bool overline, required bool strikethrough, required GhosttySgrUnderline underline, required bool inverse, required bool invisible, required bool faint, bool hasExplicitUnderlineColor = false, bool hasExplicitForeground = false, bool hasExplicitBackground = false})
-
const
-
GhosttyTerminalResolvedStyle.fromFormattedStyle({required GhosttyTerminalStyle style, required List<
Color> palette, required Color defaultForeground, required Color defaultBackground}) -
Resolves a formatter-driven style using a Flutter palette and defaults.
factory
-
GhosttyTerminalResolvedStyle.fromNativeStyle({required VtStyle style, required List<
Color> palette, required Color defaultForeground, required Color defaultBackground}) -
factory
- GhosttyTerminalResolvedStyle.fromNativeStyleWithRenderColors({required VtStyle style, required VtRenderColors colors})
-
Resolves a native VtStyle using shared VtRenderColors palette data.
factory
Properties
- background → Color
-
final
- backgroundToken → GhosttyTerminalColor?
-
final
- blink → bool
-
final
- bold → bool
-
final
- faint → bool
-
final
- foreground → Color
-
final
- foregroundToken → GhosttyTerminalColor?
-
final
- hasExplicitBackground → bool
-
final
- hasExplicitForeground → bool
-
final
- hasExplicitUnderlineColor → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- inverse → bool
-
final
- invisible → bool
-
final
- 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 → Color
-
final
- underlineColorToken → GhosttyTerminalColor?
-
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
-
resolveNativeStyleColors(
{required GhosttyTerminalResolvedStyle style, required Color defaultForeground, required Color defaultBackground, Color? metadataColor}) → ({Color background, Color foreground}) - Resolves this style's colors for paint-time use.