kBAR_LEVELS top-level constant ansi

List<String> const kBAR_LEVELS

Blocks from empty to full height, for little bar charts (sparklines).

Index 0 is a space and index 8 is a full block, so kBAR_LEVELS[4] is half height.

Implementation

const List<String> kBAR_LEVELS = <String>[
  ' ',
  '▁',
  '▂',
  '▃',
  '▄',
  '▅',
  '▆',
  '▇',
  '█',
];