term_glyph library Null safety

Classes

GlyphSet
A class that provides access to every configurable glyph.

Constants

asciiGlyphs → const GlyphSet
A GlyphSet that always returns ASCII glyphs.
AsciiGlyphSet()
unicodeGlyphs → const GlyphSet
A GlyphSet that always returns Unicode glyphs.
UnicodeGlyphSet()

Properties

ascii bool
Whether the glyph getters return plain ASCII, as opposed to Unicode characters or sequences.
read / write
bottomLeftCorner String
The lower left-hand corner of a box.
read-only
bottomLeftCornerBold String
The bold lower left-hand corner of a box.
read-only
bottomLeftCornerDouble String
The double lower left-hand corner of a box.
read-only
bottomRightCorner String
The lower right-hand corner of a box.
read-only
bottomRightCornerBold String
The bold lower right-hand corner of a box.
read-only
bottomRightCornerDouble String
The double lower right-hand corner of a box.
read-only
bullet String
A bullet point.
read-only
cross String
An intersection of vertical and horizontal box lines.
read-only
crossBold String
An intersection of bold vertical and horizontal box lines.
read-only
crossDouble String
An intersection of double vertical and horizontal box lines.
read-only
downArrow String
A downwards-pointing arrow.
read-only
downEnd String
The bottom half of a vertical box line.
read-only
downEndBold String
The bottom half of a bold vertical box line.
read-only
glyphs GlyphSet
Returns asciiGlyphs if ascii is true or unicodeGlyphs otherwise.
read-only
horizontalLine String
A horizontal line that can be used to draw a box.
read-only
horizontalLineBold String
A bold horizontal line that can be used to draw a box.
read-only
horizontalLineDouble String
A double horizontal line that can be used to draw a box.
read-only
horizontalLineDoubleDash String
A dashed horizontal line that can be used to draw a box.
read-only
horizontalLineDoubleDashBold String
A bold dashed horizontal line that can be used to draw a box.
read-only
horizontalLineQuadrupleDash String
A dashed horizontal line that can be used to draw a box.
read-only
horizontalLineQuadrupleDashBold String
A bold dashed horizontal line that can be used to draw a box.
read-only
horizontalLineTripleDash String
A dashed horizontal line that can be used to draw a box.
read-only
horizontalLineTripleDashBold String
A bold dashed horizontal line that can be used to draw a box.
read-only
leftArrow String
A left-pointing arrow.
read-only
leftEnd String
The left half of a horizontal box line.
read-only
leftEndBold String
The left half of a bold horizontal box line.
read-only
longLeftArrow String
A two-character left-pointing arrow.
read-only
longRightArrow String
A two-character right-pointing arrow.
read-only
rightArrow String
A right-pointing arrow.
read-only
rightEnd String
The right half of a horizontal box line.
read-only
rightEndBold String
The right half of a bold horizontal box line.
read-only
teeDown String
A horizontal box line with a vertical line going down from the middle.
read-only
teeDownBold String
A bold horizontal box line with a vertical line going down from the middle.
read-only
teeDownDouble String
A double horizontal box line with a vertical line going down from the middle.
read-only
teeLeft String
A vertical box line with a horizontal line going left from the middle.
read-only
teeLeftBold String
A bold vertical box line with a horizontal line going left from the middle.
read-only
teeLeftDouble String
A double vertical box line with a horizontal line going left from the middle.
read-only
teeRight String
A vertical box line with a horizontal line going right from the middle.
read-only
teeRightBold String
A bold vertical box line with a horizontal line going right from the middle.
read-only
teeRightDouble String
A double vertical box line with a horizontal line going right from the middle.
read-only
teeUp String
A horizontal box line with a vertical line going up from the middle.
read-only
teeUpBold String
A bold horizontal box line with a vertical line going up from the middle.
read-only
teeUpDouble String
A double horizontal box line with a vertical line going up from the middle.
read-only
topLeftCorner String
The upper left-hand corner of a box.
read-only
topLeftCornerBold String
The bold upper left-hand corner of a box.
read-only
topLeftCornerDouble String
The double upper left-hand corner of a box.
read-only
topRightCorner String
The upper right-hand corner of a box.
read-only
topRightCornerBold String
The bold upper right-hand corner of a box.
read-only
topRightCornerDouble String
The double upper right-hand corner of a box.
read-only
upArrow String
An upwards-pointing arrow.
read-only
upEnd String
The top half of a vertical box line.
read-only
upEndBold String
The top half of a bold vertical box line.
read-only
verticalLine String
A vertical line that can be used to draw a box.
read-only
verticalLineBold String
A bold vertical line that can be used to draw a box.
read-only
verticalLineDouble String
A double vertical line that can be used to draw a box.
read-only
verticalLineDoubleDash String
A dashed vertical line that can be used to draw a box.
read-only
verticalLineDoubleDashBold String
A bold dashed vertical line that can be used to draw a box.
read-only
verticalLineQuadrupleDash String
A dashed vertical line that can be used to draw a box.
read-only
verticalLineQuadrupleDashBold String
A bold dashed vertical line that can be used to draw a box.
read-only
verticalLineTripleDash String
A dashed vertical line that can be used to draw a box.
read-only
verticalLineTripleDashBold String
A bold dashed vertical line that can be used to draw a box.
read-only

Functions

glyphOrAscii(String glyph, String alternative) String
Returns glyph if Unicode glyph are allowed, and alternative if they aren't.