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

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

example/main.dart

import 'package:braille_dart/braille.dart';

void main() {
  var char = BrailleCharacter();

  char.dotOn(0, 0);
  char.bitOn(0x20); // Which is the same as dot (1, 2)
  char.bitOn(char.bit(0, 3)); // Where `char.bit` converts to a bit
  // then it turns it on, a better shortcut is `dotOn`.

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

  char.invert();
  print("$char"); // Output: '⢞'
}
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