ascii top-level property

bool ascii

Whether the glyph getters return plain ASCII, as opposed to Unicode characters or sequences.

Defaults to false.

Implementation

bool get ascii => _ascii;
void ascii= (bool value)

Implementation

set ascii(bool value) {
  _ascii = value;
  if (value) {
    _bullet = "*";
    _leftArrow = "<";
    _rightArrow = ">";
    _upArrow = "^";
    _downArrow = "v";
    _longLeftArrow = "<=";
    _longRightArrow = "=>";
    _horizontalLine = "-";
    _verticalLine = "|";
    _topLeftCorner = ",";
    _topRightCorner = ",";
    _bottomLeftCorner = "'";
    _bottomRightCorner = "'";
    _cross = "+";
    _teeUp = "+";
    _teeDown = "+";
    _teeLeft = "+";
    _teeRight = "+";
    _upEnd = "'";
    _downEnd = ",";
    _leftEnd = "-";
    _rightEnd = "-";
    _horizontalLineBold = "=";
    _verticalLineBold = "|";
    _topLeftCornerBold = ",";
    _topRightCornerBold = ",";
    _bottomLeftCornerBold = "'";
    _bottomRightCornerBold = "'";
    _crossBold = "+";
    _teeUpBold = "+";
    _teeDownBold = "+";
    _teeLeftBold = "+";
    _teeRightBold = "+";
    _upEndBold = "'";
    _downEndBold = ",";
    _leftEndBold = "-";
    _rightEndBold = "-";
    _horizontalLineDouble = "=";
    _verticalLineDouble = "|";
    _topLeftCornerDouble = ",";
    _topRightCornerDouble = ",";
    _bottomLeftCornerDouble = '"';
    _bottomRightCornerDouble = '"';
    _crossDouble = "+";
    _teeUpDouble = "+";
    _teeDownDouble = "+";
    _teeLeftDouble = "+";
    _teeRightDouble = "+";
    _horizontalLineDoubleDash = "-";
    _horizontalLineDoubleDashBold = "-";
    _verticalLineDoubleDash = "|";
    _verticalLineDoubleDashBold = "|";
    _horizontalLineTripleDash = "-";
    _horizontalLineTripleDashBold = "-";
    _verticalLineTripleDash = "|";
    _verticalLineTripleDashBold = "|";
    _horizontalLineQuadrupleDash = "-";
    _horizontalLineQuadrupleDashBold = "-";
    _verticalLineQuadrupleDash = "|";
    _verticalLineQuadrupleDashBold = "|";
  } else {
    _bullet = "•";
    _leftArrow = "←";
    _rightArrow = "→";
    _upArrow = "↑";
    _downArrow = "↓";
    _longLeftArrow = "◀━";
    _longRightArrow = "━▶";
    _horizontalLine = "─";
    _verticalLine = "│";
    _topLeftCorner = "┌";
    _topRightCorner = "┐";
    _bottomLeftCorner = "└";
    _bottomRightCorner = "┘";
    _cross = "┼";
    _teeUp = "┴";
    _teeDown = "┬";
    _teeLeft = "┤";
    _teeRight = "├";
    _upEnd = "╵";
    _downEnd = "╷";
    _leftEnd = "╴";
    _rightEnd = "╶";
    _horizontalLineBold = "━";
    _verticalLineBold = "┃";
    _topLeftCornerBold = "┏";
    _topRightCornerBold = "┓";
    _bottomLeftCornerBold = "┗";
    _bottomRightCornerBold = "┛";
    _crossBold = "╋";
    _teeUpBold = "┻";
    _teeDownBold = "┳";
    _teeLeftBold = "┫";
    _teeRightBold = "┣";
    _upEndBold = "╹";
    _downEndBold = "╻";
    _leftEndBold = "╸";
    _rightEndBold = "╺";
    _horizontalLineDouble = "═";
    _verticalLineDouble = "║";
    _topLeftCornerDouble = "╔";
    _topRightCornerDouble = "╗";
    _bottomLeftCornerDouble = "╚";
    _bottomRightCornerDouble = "╝";
    _crossDouble = "╬";
    _teeUpDouble = "╩";
    _teeDownDouble = "╦";
    _teeLeftDouble = "╣";
    _teeRightDouble = "╠";
    _horizontalLineDoubleDash = "╌";
    _horizontalLineDoubleDashBold = "╍";
    _verticalLineDoubleDash = "╎";
    _verticalLineDoubleDashBold = "╏";
    _horizontalLineTripleDash = "┄";
    _horizontalLineTripleDashBold = "┅";
    _verticalLineTripleDash = "┆";
    _verticalLineTripleDashBold = "┇";
    _horizontalLineQuadrupleDash = "┈";
    _horizontalLineQuadrupleDashBold = "┉";
    _verticalLineQuadrupleDash = "┊";
    _verticalLineQuadrupleDashBold = "┋";
  }
}