UvStyle class final
Upstream: third_party/ultraviolet/cell.go (UvStyle).
Style attributes for a terminal Cell.
Constructors
Properties
- attrs → int
-
final
- bg → UvColor?
-
final
- fg → UvColor?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- isZero → bool
-
Whether this style has no attributes or colors set.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- underline → UnderlineStyle
-
final
- underlineColor → UvColor?
-
final
Methods
-
copyWith(
{UvColor? fg, bool clearFg = false, UvColor? bg, bool clearBg = false, UvColor? underlineColor, bool clearUnderlineColor = false, UnderlineStyle? underline, int? attrs}) → UvStyle - Returns a copy of this style with selected fields updated.
-
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