AsciiFormats class

The text styles, grouped on one object so they can be reached by name.

See formats for the shared instance — there is no reason to build another.

Constructors

AsciiFormats()
const

Properties

alternativeFont1 String
First alternative font. Cleared by primaryFont.
final
alternativeFont2 String
Second alternative font. Cleared by primaryFont.
final
alternativeFont3 String
Third alternative font. Cleared by primaryFont.
final
alternativeFont4 String
Fourth alternative font. Cleared by primaryFont.
final
alternativeFont5 String
Fifth alternative font. Cleared by primaryFont.
final
alternativeFont6 String
Sixth alternative font. Cleared by primaryFont.
final
alternativeFont7 String
Seventh alternative font. Cleared by primaryFont.
final
alternativeFont8 String
Eighth alternative font. Cleared by primaryFont.
final
alternativeFont9 String
Ninth alternative font. Cleared by primaryFont.
final
Blink, under 150 per minute. Cleared by resetBlink.
final
blinkRapid String
Blink, 150 per minute or more. Cleared by resetBlink.
final
bold String
Bold, or increased intensity. Cleared by resetBoldAndDim.
final
curlyUnderline String
Curly (wavy) underline, the one spell checkers draw. Cleared by resetUnderline.
final
dashedUnderline String
Dashed underline. Cleared by resetUnderline. See curlyUnderline on support.
final
dim String
Dim, or decreased intensity. Cleared by resetBoldAndDim.
final
dottedUnderline String
Dotted underline. Cleared by resetUnderline. See curlyUnderline on support.
final
doublyUnderline String
Double underline. Cleared by resetUnderline.
final
encircle String
Draws a circle around the text. Cleared by resetFrameAndEncircle.
final
fraktur String
Fraktur (Gothic). Cleared by resetItalic — ANSI shares one reset between the two.
final
frame String
Draws a frame around the text. Cleared by resetFrameAndEncircle.
final
hashCode int
The hash code for this object.
no setterinherited
ideogramDoublyOverline String
Ideogram double overline. Cleared by resetIdeogram.
final
ideogramDoublyUnderline String
Ideogram double underline. Cleared by resetIdeogram.
final
ideogramOverline String
Ideogram overline, or a line down the left side. Cleared by resetIdeogram.
final
ideogramStress String
Ideogram stress marking. Cleared by resetIdeogram.
final
ideogramUnderline String
Ideogram underline, or a line down the right side. Cleared by resetIdeogram.
final
inverse String
Swaps foreground and background. Cleared by resetInverse.
final
invisible String
Hides the text — still selectable and still copied, just not drawn. Cleared by resetInvisible.
final
italic String
Italic. Cleared by resetItalic.
final
overline String
A line above the text. Cleared by resetOverline.
final
primaryFont String
The terminal's default font. Clears alternativeFont1 and friends.
final
proportionalSpacing String
Proportional spacing. Cleared by resetProportionalSpacing.
final
reset String
Clears every colour and style. Same string as the top-level reset.
final
Clears blink and blinkRapid.
final
resetBoldAndDim String
Clears bold and dim together — ANSI gives them one reset, not two.
final
resetFrameAndEncircle String
Clears frame and encircle together.
final
resetIdeogram String
Clears every ideogram mark.
final
resetInverse String
Clears inverse.
final
resetInvisible String
Clears invisible.
final
resetItalic String
Clears italic and fraktur together.
final
resetOverline String
Clears overline.
final
resetProportionalSpacing String
Clears proportionalSpacing.
final
resetStrikethrough String
Clears strikethrough.
final
resetSuperAndSubscript String
Clears superscript and subscript together.
final
resetUnderline String
Clears every underline style, whatever its shape.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
strikethrough String
Strikethrough. Cleared by resetStrikethrough.
final
subscript String
Subscript. Cleared by resetSuperAndSubscript.
final
superscript String
Superscript. Cleared by resetSuperAndSubscript.
final
underline String
Underline. Cleared by resetUnderline.
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