Styles class abstract final

Every style that carries one thing, named and constant.

The named rendition properties — Styles.bold, Styles.italic — and the 256-colour table three times over: Styles.red for the colour of the text, Styles.bgRed for the colour behind it, Styles.underlineRed for the colour of the underline. The names are those of Color256, and the ready-to-use strings carry the same ones: Styles.red is the style, fgRed the string that writes it.

They are constants, so a style can be held in one:

const error = Styles.red;

What is built on top of one is not a constant — Styles.red.bold is a call — and the chain is where a style carrying more than one thing comes from: see StyleColors for the colours as getters, and Style for the properties.

Every chain starts at one of these, so nothing has to be reached for to begin one. A colour the table does not name is the constructor's: Style(foreground: ColorRgb(1, 2, 3)).bold is what Styles.bold.foreground(ColorRgb(1, 2, 3)) says the other way round.

The colour each of them holds is set on its target already, so it names itself the way a parsed one does: Styles.red.foregroundColor answers fg256Red to Color.id, and Styles.bgRed answers bg256Red. That is what Color256.on is for, being the const constructor Color.on cannot be.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

alternativeFont1 → const Style
alternativeFont2 → const Style
alternativeFont3 → const Style
alternativeFont4 → const Style
alternativeFont5 → const Style
alternativeFont6 → const Style
alternativeFont7 → const Style
alternativeFont8 → const Style
alternativeFont9 → const Style
bgBlack → const Style
bgBlue → const Style
bgCyan → const Style
bgGray0 → const Style
bgGray1 → const Style
bgGray2 → const Style
bgGray3 → const Style
bgGray4 → const Style
bgGray5 → const Style
bgGray6 → const Style
bgGray7 → const Style
bgGray8 → const Style
bgGray9 → const Style
bgGray10 → const Style
bgGray11 → const Style
bgGray12 → const Style
bgGray13 → const Style
bgGray14 → const Style
bgGray15 → const Style
bgGray16 → const Style
bgGray17 → const Style
bgGray18 → const Style
bgGray19 → const Style
bgGray20 → const Style
bgGray21 → const Style
bgGray22 → const Style
bgGray23 → const Style
bgGreen → const Style
bgHighBlack → const Style
bgHighBlue → const Style
bgHighCyan → const Style
bgHighGreen → const Style
bgHighMagenta → const Style
bgHighRed → const Style
bgHighWhite → const Style
bgHighYellow → const Style
bgMagenta → const Style
bgRed → const Style
bgRgb000 → const Style
bgRgb001 → const Style
bgRgb002 → const Style
bgRgb003 → const Style
bgRgb004 → const Style
bgRgb005 → const Style
bgRgb010 → const Style
bgRgb011 → const Style
bgRgb012 → const Style
bgRgb013 → const Style
bgRgb014 → const Style
bgRgb015 → const Style
bgRgb020 → const Style
bgRgb021 → const Style
bgRgb022 → const Style
bgRgb023 → const Style
bgRgb024 → const Style
bgRgb025 → const Style
bgRgb030 → const Style
bgRgb031 → const Style
bgRgb032 → const Style
bgRgb033 → const Style
bgRgb034 → const Style
bgRgb035 → const Style
bgRgb040 → const Style
bgRgb041 → const Style
bgRgb042 → const Style
bgRgb043 → const Style
bgRgb044 → const Style
bgRgb045 → const Style
bgRgb050 → const Style
bgRgb051 → const Style
bgRgb052 → const Style
bgRgb053 → const Style
bgRgb054 → const Style
bgRgb055 → const Style
bgRgb100 → const Style
bgRgb101 → const Style
bgRgb102 → const Style
bgRgb103 → const Style
bgRgb104 → const Style
bgRgb105 → const Style
bgRgb110 → const Style
bgRgb111 → const Style
bgRgb112 → const Style
bgRgb113 → const Style
bgRgb114 → const Style
bgRgb115 → const Style
bgRgb120 → const Style
bgRgb121 → const Style
bgRgb122 → const Style
bgRgb123 → const Style
bgRgb124 → const Style
bgRgb125 → const Style
bgRgb130 → const Style
bgRgb131 → const Style
bgRgb132 → const Style
bgRgb133 → const Style
bgRgb134 → const Style
bgRgb135 → const Style
bgRgb140 → const Style
bgRgb141 → const Style
bgRgb142 → const Style
bgRgb143 → const Style
bgRgb144 → const Style
bgRgb145 → const Style
bgRgb150 → const Style
bgRgb151 → const Style
bgRgb152 → const Style
bgRgb153 → const Style
bgRgb154 → const Style
bgRgb155 → const Style
bgRgb200 → const Style
bgRgb201 → const Style
bgRgb202 → const Style
bgRgb203 → const Style
bgRgb204 → const Style
bgRgb205 → const Style
bgRgb210 → const Style
bgRgb211 → const Style
bgRgb212 → const Style
bgRgb213 → const Style
bgRgb214 → const Style
bgRgb215 → const Style
bgRgb220 → const Style
bgRgb221 → const Style
bgRgb222 → const Style
bgRgb223 → const Style
bgRgb224 → const Style
bgRgb225 → const Style
bgRgb230 → const Style
bgRgb231 → const Style
bgRgb232 → const Style
bgRgb233 → const Style
bgRgb234 → const Style
bgRgb235 → const Style
bgRgb240 → const Style
bgRgb241 → const Style
bgRgb242 → const Style
bgRgb243 → const Style
bgRgb244 → const Style
bgRgb245 → const Style
bgRgb250 → const Style
bgRgb251 → const Style
bgRgb252 → const Style
bgRgb253 → const Style
bgRgb254 → const Style
bgRgb255 → const Style
bgRgb300 → const Style
bgRgb301 → const Style
bgRgb302 → const Style
bgRgb303 → const Style
bgRgb304 → const Style
bgRgb305 → const Style
bgRgb310 → const Style
bgRgb311 → const Style
bgRgb312 → const Style
bgRgb313 → const Style
bgRgb314 → const Style
bgRgb315 → const Style
bgRgb320 → const Style
bgRgb321 → const Style
bgRgb322 → const Style
bgRgb323 → const Style
bgRgb324 → const Style
bgRgb325 → const Style
bgRgb330 → const Style
bgRgb331 → const Style
bgRgb332 → const Style
bgRgb333 → const Style
bgRgb334 → const Style
bgRgb335 → const Style
bgRgb340 → const Style
bgRgb341 → const Style
bgRgb342 → const Style
bgRgb343 → const Style
bgRgb344 → const Style
bgRgb345 → const Style
bgRgb350 → const Style
bgRgb351 → const Style
bgRgb352 → const Style
bgRgb353 → const Style
bgRgb354 → const Style
bgRgb355 → const Style
bgRgb400 → const Style
bgRgb401 → const Style
bgRgb402 → const Style
bgRgb403 → const Style
bgRgb404 → const Style
bgRgb405 → const Style
bgRgb410 → const Style
bgRgb411 → const Style
bgRgb412 → const Style
bgRgb413 → const Style
bgRgb414 → const Style
bgRgb415 → const Style
bgRgb420 → const Style
bgRgb421 → const Style
bgRgb422 → const Style
bgRgb423 → const Style
bgRgb424 → const Style
bgRgb425 → const Style
bgRgb430 → const Style
bgRgb431 → const Style
bgRgb432 → const Style
bgRgb433 → const Style
bgRgb434 → const Style
bgRgb435 → const Style
bgRgb440 → const Style
bgRgb441 → const Style
bgRgb442 → const Style
bgRgb443 → const Style
bgRgb444 → const Style
bgRgb445 → const Style
bgRgb450 → const Style
bgRgb451 → const Style
bgRgb452 → const Style
bgRgb453 → const Style
bgRgb454 → const Style
bgRgb455 → const Style
bgRgb500 → const Style
bgRgb501 → const Style
bgRgb502 → const Style
bgRgb503 → const Style
bgRgb504 → const Style
bgRgb505 → const Style
bgRgb510 → const Style
bgRgb511 → const Style
bgRgb512 → const Style
bgRgb513 → const Style
bgRgb514 → const Style
bgRgb515 → const Style
bgRgb520 → const Style
bgRgb521 → const Style
bgRgb522 → const Style
bgRgb523 → const Style
bgRgb524 → const Style
bgRgb525 → const Style
bgRgb530 → const Style
bgRgb531 → const Style
bgRgb532 → const Style
bgRgb533 → const Style
bgRgb534 → const Style
bgRgb535 → const Style
bgRgb540 → const Style
bgRgb541 → const Style
bgRgb542 → const Style
bgRgb543 → const Style
bgRgb544 → const Style
bgRgb545 → const Style
bgRgb550 → const Style
bgRgb551 → const Style
bgRgb552 → const Style
bgRgb553 → const Style
bgRgb554 → const Style
bgRgb555 → const Style
bgWhite → const Style
bgYellow → const Style
black → const Style
blinkRapid → const Style
blue → const Style
bold → const Style
curlyUnderline → const Style
cyan → const Style
dashedUnderline → const Style
dim → const Style
dottedUnderline → const Style
doublyUnderline → const Style
encircle → const Style
fraktur → const Style
frame → const Style
gray0 → const Style
gray1 → const Style
gray2 → const Style
gray3 → const Style
gray4 → const Style
gray5 → const Style
gray6 → const Style
gray7 → const Style
gray8 → const Style
gray9 → const Style
gray10 → const Style
gray11 → const Style
gray12 → const Style
gray13 → const Style
gray14 → const Style
gray15 → const Style
gray16 → const Style
gray17 → const Style
gray18 → const Style
gray19 → const Style
gray20 → const Style
gray21 → const Style
gray22 → const Style
gray23 → const Style
green → const Style
highBlack → const Style
highBlue → const Style
highCyan → const Style
highGreen → const Style
highMagenta → const Style
highRed → const Style
highWhite → const Style
highYellow → const Style
ideogramDoublyOverline → const Style
ideogramDoublyUnderline → const Style
ideogramOverline → const Style
ideogramStress → const Style
ideogramUnderline → const Style
inverse → const Style
invisible → const Style
italic → const Style
magenta → const Style
overline → const Style
proportionalSpacing → const Style
red → const Style
rgb000 → const Style
rgb001 → const Style
rgb002 → const Style
rgb003 → const Style
rgb004 → const Style
rgb005 → const Style
rgb010 → const Style
rgb011 → const Style
rgb012 → const Style
rgb013 → const Style
rgb014 → const Style
rgb015 → const Style
rgb020 → const Style
rgb021 → const Style
rgb022 → const Style
rgb023 → const Style
rgb024 → const Style
rgb025 → const Style
rgb030 → const Style
rgb031 → const Style
rgb032 → const Style
rgb033 → const Style
rgb034 → const Style
rgb035 → const Style
rgb040 → const Style
rgb041 → const Style
rgb042 → const Style
rgb043 → const Style
rgb044 → const Style
rgb045 → const Style
rgb050 → const Style
rgb051 → const Style
rgb052 → const Style
rgb053 → const Style
rgb054 → const Style
rgb055 → const Style
rgb100 → const Style
rgb101 → const Style
rgb102 → const Style
rgb103 → const Style
rgb104 → const Style
rgb105 → const Style
rgb110 → const Style
rgb111 → const Style
rgb112 → const Style
rgb113 → const Style
rgb114 → const Style
rgb115 → const Style
rgb120 → const Style
rgb121 → const Style
rgb122 → const Style
rgb123 → const Style
rgb124 → const Style
rgb125 → const Style
rgb130 → const Style
rgb131 → const Style
rgb132 → const Style
rgb133 → const Style
rgb134 → const Style
rgb135 → const Style
rgb140 → const Style
rgb141 → const Style
rgb142 → const Style
rgb143 → const Style
rgb144 → const Style
rgb145 → const Style
rgb150 → const Style
rgb151 → const Style
rgb152 → const Style
rgb153 → const Style
rgb154 → const Style
rgb155 → const Style
rgb200 → const Style
rgb201 → const Style
rgb202 → const Style
rgb203 → const Style
rgb204 → const Style
rgb205 → const Style
rgb210 → const Style
rgb211 → const Style
rgb212 → const Style
rgb213 → const Style
rgb214 → const Style
rgb215 → const Style
rgb220 → const Style
rgb221 → const Style
rgb222 → const Style
rgb223 → const Style
rgb224 → const Style
rgb225 → const Style
rgb230 → const Style
rgb231 → const Style
rgb232 → const Style
rgb233 → const Style
rgb234 → const Style
rgb235 → const Style
rgb240 → const Style
rgb241 → const Style
rgb242 → const Style
rgb243 → const Style
rgb244 → const Style
rgb245 → const Style
rgb250 → const Style
rgb251 → const Style
rgb252 → const Style
rgb253 → const Style
rgb254 → const Style
rgb255 → const Style
rgb300 → const Style
rgb301 → const Style
rgb302 → const Style
rgb303 → const Style
rgb304 → const Style
rgb305 → const Style
rgb310 → const Style
rgb311 → const Style
rgb312 → const Style
rgb313 → const Style
rgb314 → const Style
rgb315 → const Style
rgb320 → const Style
rgb321 → const Style
rgb322 → const Style
rgb323 → const Style
rgb324 → const Style
rgb325 → const Style
rgb330 → const Style
rgb331 → const Style
rgb332 → const Style
rgb333 → const Style
rgb334 → const Style
rgb335 → const Style
rgb340 → const Style
rgb341 → const Style
rgb342 → const Style
rgb343 → const Style
rgb344 → const Style
rgb345 → const Style
rgb350 → const Style
rgb351 → const Style
rgb352 → const Style
rgb353 → const Style
rgb354 → const Style
rgb355 → const Style
rgb400 → const Style
rgb401 → const Style
rgb402 → const Style
rgb403 → const Style
rgb404 → const Style
rgb405 → const Style
rgb410 → const Style
rgb411 → const Style
rgb412 → const Style
rgb413 → const Style
rgb414 → const Style
rgb415 → const Style
rgb420 → const Style
rgb421 → const Style
rgb422 → const Style
rgb423 → const Style
rgb424 → const Style
rgb425 → const Style
rgb430 → const Style
rgb431 → const Style
rgb432 → const Style
rgb433 → const Style
rgb434 → const Style
rgb435 → const Style
rgb440 → const Style
rgb441 → const Style
rgb442 → const Style
rgb443 → const Style
rgb444 → const Style
rgb445 → const Style
rgb450 → const Style
rgb451 → const Style
rgb452 → const Style
rgb453 → const Style
rgb454 → const Style
rgb455 → const Style
rgb500 → const Style
rgb501 → const Style
rgb502 → const Style
rgb503 → const Style
rgb504 → const Style
rgb505 → const Style
rgb510 → const Style
rgb511 → const Style
rgb512 → const Style
rgb513 → const Style
rgb514 → const Style
rgb515 → const Style
rgb520 → const Style
rgb521 → const Style
rgb522 → const Style
rgb523 → const Style
rgb524 → const Style
rgb525 → const Style
rgb530 → const Style
rgb531 → const Style
rgb532 → const Style
rgb533 → const Style
rgb534 → const Style
rgb535 → const Style
rgb540 → const Style
rgb541 → const Style
rgb542 → const Style
rgb543 → const Style
rgb544 → const Style
rgb545 → const Style
rgb550 → const Style
rgb551 → const Style
rgb552 → const Style
rgb553 → const Style
rgb554 → const Style
rgb555 → const Style
strikethrough → const Style
subscript → const Style
superscript → const Style
underline → const Style
underlineBlack → const Style
underlineBlue → const Style
underlineCyan → const Style
underlineGray0 → const Style
underlineGray1 → const Style
underlineGray2 → const Style
underlineGray3 → const Style
underlineGray4 → const Style
underlineGray5 → const Style
underlineGray6 → const Style
underlineGray7 → const Style
underlineGray8 → const Style
underlineGray9 → const Style
underlineGray10 → const Style
underlineGray11 → const Style
underlineGray12 → const Style
underlineGray13 → const Style
underlineGray14 → const Style
underlineGray15 → const Style
underlineGray16 → const Style
underlineGray17 → const Style
underlineGray18 → const Style
underlineGray19 → const Style
underlineGray20 → const Style
underlineGray21 → const Style
underlineGray22 → const Style
underlineGray23 → const Style
underlineGreen → const Style
underlineHighBlack → const Style
underlineHighBlue → const Style
underlineHighCyan → const Style
underlineHighGreen → const Style
underlineHighMagenta → const Style
underlineHighRed → const Style
underlineHighWhite → const Style
underlineHighYellow → const Style
underlineMagenta → const Style
underlineRed → const Style
underlineRgb000 → const Style
underlineRgb001 → const Style
underlineRgb002 → const Style
underlineRgb003 → const Style
underlineRgb004 → const Style
underlineRgb005 → const Style
underlineRgb010 → const Style
underlineRgb011 → const Style
underlineRgb012 → const Style
underlineRgb013 → const Style
underlineRgb014 → const Style
underlineRgb015 → const Style
underlineRgb020 → const Style
underlineRgb021 → const Style
underlineRgb022 → const Style
underlineRgb023 → const Style
underlineRgb024 → const Style
underlineRgb025 → const Style
underlineRgb030 → const Style
underlineRgb031 → const Style
underlineRgb032 → const Style
underlineRgb033 → const Style
underlineRgb034 → const Style
underlineRgb035 → const Style
underlineRgb040 → const Style
underlineRgb041 → const Style
underlineRgb042 → const Style
underlineRgb043 → const Style
underlineRgb044 → const Style
underlineRgb045 → const Style
underlineRgb050 → const Style
underlineRgb051 → const Style
underlineRgb052 → const Style
underlineRgb053 → const Style
underlineRgb054 → const Style
underlineRgb055 → const Style
underlineRgb100 → const Style
underlineRgb101 → const Style
underlineRgb102 → const Style
underlineRgb103 → const Style
underlineRgb104 → const Style
underlineRgb105 → const Style
underlineRgb110 → const Style
underlineRgb111 → const Style
underlineRgb112 → const Style
underlineRgb113 → const Style
underlineRgb114 → const Style
underlineRgb115 → const Style
underlineRgb120 → const Style
underlineRgb121 → const Style
underlineRgb122 → const Style
underlineRgb123 → const Style
underlineRgb124 → const Style
underlineRgb125 → const Style
underlineRgb130 → const Style
underlineRgb131 → const Style
underlineRgb132 → const Style
underlineRgb133 → const Style
underlineRgb134 → const Style
underlineRgb135 → const Style
underlineRgb140 → const Style
underlineRgb141 → const Style
underlineRgb142 → const Style
underlineRgb143 → const Style
underlineRgb144 → const Style
underlineRgb145 → const Style
underlineRgb150 → const Style
underlineRgb151 → const Style
underlineRgb152 → const Style
underlineRgb153 → const Style
underlineRgb154 → const Style
underlineRgb155 → const Style
underlineRgb200 → const Style
underlineRgb201 → const Style
underlineRgb202 → const Style
underlineRgb203 → const Style
underlineRgb204 → const Style
underlineRgb205 → const Style
underlineRgb210 → const Style
underlineRgb211 → const Style
underlineRgb212 → const Style
underlineRgb213 → const Style
underlineRgb214 → const Style
underlineRgb215 → const Style
underlineRgb220 → const Style
underlineRgb221 → const Style
underlineRgb222 → const Style
underlineRgb223 → const Style
underlineRgb224 → const Style
underlineRgb225 → const Style
underlineRgb230 → const Style
underlineRgb231 → const Style
underlineRgb232 → const Style
underlineRgb233 → const Style
underlineRgb234 → const Style
underlineRgb235 → const Style
underlineRgb240 → const Style
underlineRgb241 → const Style
underlineRgb242 → const Style
underlineRgb243 → const Style
underlineRgb244 → const Style
underlineRgb245 → const Style
underlineRgb250 → const Style
underlineRgb251 → const Style
underlineRgb252 → const Style
underlineRgb253 → const Style
underlineRgb254 → const Style
underlineRgb255 → const Style
underlineRgb300 → const Style
underlineRgb301 → const Style
underlineRgb302 → const Style
underlineRgb303 → const Style
underlineRgb304 → const Style
underlineRgb305 → const Style
underlineRgb310 → const Style
underlineRgb311 → const Style
underlineRgb312 → const Style
underlineRgb313 → const Style
underlineRgb314 → const Style
underlineRgb315 → const Style
underlineRgb320 → const Style
underlineRgb321 → const Style
underlineRgb322 → const Style
underlineRgb323 → const Style
underlineRgb324 → const Style
underlineRgb325 → const Style
underlineRgb330 → const Style
underlineRgb331 → const Style
underlineRgb332 → const Style
underlineRgb333 → const Style
underlineRgb334 → const Style
underlineRgb335 → const Style
underlineRgb340 → const Style
underlineRgb341 → const Style
underlineRgb342 → const Style
underlineRgb343 → const Style
underlineRgb344 → const Style
underlineRgb345 → const Style
underlineRgb350 → const Style
underlineRgb351 → const Style
underlineRgb352 → const Style
underlineRgb353 → const Style
underlineRgb354 → const Style
underlineRgb355 → const Style
underlineRgb400 → const Style
underlineRgb401 → const Style
underlineRgb402 → const Style
underlineRgb403 → const Style
underlineRgb404 → const Style
underlineRgb405 → const Style
underlineRgb410 → const Style
underlineRgb411 → const Style
underlineRgb412 → const Style
underlineRgb413 → const Style
underlineRgb414 → const Style
underlineRgb415 → const Style
underlineRgb420 → const Style
underlineRgb421 → const Style
underlineRgb422 → const Style
underlineRgb423 → const Style
underlineRgb424 → const Style
underlineRgb425 → const Style
underlineRgb430 → const Style
underlineRgb431 → const Style
underlineRgb432 → const Style
underlineRgb433 → const Style
underlineRgb434 → const Style
underlineRgb435 → const Style
underlineRgb440 → const Style
underlineRgb441 → const Style
underlineRgb442 → const Style
underlineRgb443 → const Style
underlineRgb444 → const Style
underlineRgb445 → const Style
underlineRgb450 → const Style
underlineRgb451 → const Style
underlineRgb452 → const Style
underlineRgb453 → const Style
underlineRgb454 → const Style
underlineRgb455 → const Style
underlineRgb500 → const Style
underlineRgb501 → const Style
underlineRgb502 → const Style
underlineRgb503 → const Style
underlineRgb504 → const Style
underlineRgb505 → const Style
underlineRgb510 → const Style
underlineRgb511 → const Style
underlineRgb512 → const Style
underlineRgb513 → const Style
underlineRgb514 → const Style
underlineRgb515 → const Style
underlineRgb520 → const Style
underlineRgb521 → const Style
underlineRgb522 → const Style
underlineRgb523 → const Style
underlineRgb524 → const Style
underlineRgb525 → const Style
underlineRgb530 → const Style
underlineRgb531 → const Style
underlineRgb532 → const Style
underlineRgb533 → const Style
underlineRgb534 → const Style
underlineRgb535 → const Style
underlineRgb540 → const Style
underlineRgb541 → const Style
underlineRgb542 → const Style
underlineRgb543 → const Style
underlineRgb544 → const Style
underlineRgb545 → const Style
underlineRgb550 → const Style
underlineRgb551 → const Style
underlineRgb552 → const Style
underlineRgb553 → const Style
underlineRgb554 → const Style
underlineRgb555 → const Style
underlineWhite → const Style
underlineYellow → const Style
white → const Style
yellow → const Style