figures

GitHub Pub Travis (.com)

Unicode symbols with Windows CMD fallbacks. (Dart port)

Port from @sindresorhus' figures in JavaScript.

Usage

import 'package:figures/figures.dart';

void main() {
  /*
   * Windows: √
   * Other OS: ✔
   */
  print(figures['tick']);
  
  /*
   * Windows: √ check
   * Other OS: ✔ check
   */
  print(replaceFigures('✔ check'));
}

Libraries

figures