braille_dart 1.0.1 copy "braille_dart: ^1.0.1" to clipboard
braille_dart: ^1.0.1 copied to clipboard

A helper library for TUIs related to the Braille Unicode symbols.

Braille.dart #

A helper library for Text-based User Interfaces related to the Braille Unicode symbols.

Features #

  • Undependencies: Fully made on pure Dart without dependencies, usable whether you install it through dart pub add or just copy-pasting the library content.
  • Performance: Heavily depends on bitwise manipulation.
  • API Duality: You can literally use the raw bit values or just go with X and Y.

Example #

var char = BrailleCharacter();

char.dotOn(0, 0);
char.dotOn(1, 2);
char.dotOn(0, 3);

print("$char"); // Output: '⡡'

char.invert();
print("$char"); // Output: '⢞'

For a full example - which shows making an F shape, see example/braille_example.dart

0
likes
160
points
144
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A helper library for TUIs related to the Braille Unicode symbols.

Repository (GitHub)
View/report issues

License

MIT (license)

More

Packages that depend on braille_dart