RichStyle class

Constructors

RichStyle({Color? background, Color? foreground, bool italic = false, bool bold = false, bool underline = false, bool slowBlink = false, bool rapidBlink = false, bool invert = false, bool conceal = false, bool strike = false, bool gothic = false, bool doubleUnderline = false, bool framed = false, bool encircled = false, bool overlined = false, Color? underlineColor})

Properties

background Color?
final
backgroundCode String
no setter
bold bool
final
boldCode String
no setter
codes List<String>
no setter
conceal bool
Rarely supported feature
final
concealCode String
no setter
doubleUnderline bool
final
doubleUnderlineCode String
no setter
encircled bool
final
encircledCode String
no setter
foreground Color?
final
foregroundCode String
no setter
framed bool
final
framedCode String
no setter
gothic bool
Rarely supported feature
final
gothicCode String
no setter
hashCode int
The hash code for this object.
no setterinherited
invert bool
final
invertCode String
no setter
italic bool
final
italicCode String
no setter
overlined bool
final
overlinedCode String
no setter
Rarely supported feature
final
rapidBlinkCode String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
Rarely supported feature
final
slowBlinkCode String
no setter
strike bool
final
strikeCode String
no setter
underline bool
final
underlineCode String
no setter
underlineColor Color?
Rarely supported feature
final
underlineColorCode String
no setter

Methods

applyTo(String text) String
copyWith({Color? foreground, Color? background, bool? italic, bool? bold, bool? underline, bool? slowBlink, bool? rapidBlink, bool? invert, bool? conceal, bool? strike, bool? gothic, bool? doubleUnderline, bool? framed, bool? encircled, bool? overlined, Color? underlineColor}) RichStyle
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