unicode 0.3.1 copy "unicode: ^0.3.1" to clipboard
unicode: ^0.3.1 copied to clipboard

Unicode characters library auto generated from http://www.unicode.org.

unicode #

This package is no longer supported because it was flagged by Google Dart developers as being published by an unknown person.
Publisher Unknown.
As a normal person, I believe that hardly anyone would want to use software from unknown publishers.

Unicode characters library auto generated from http://www.unicode.org.

Unicode Version 13.0.0

Example:

import 'package:unicode/unicode.dart' as unicode;

void main(List<String> args) {
  var ch = unicode.toRune('я');
  if (unicode.isLowercaseLetter(ch)) {
    print(char2Str(ch) + ' is lowercase letter');
  }

  ch = unicode.toRune('{');
  if (unicode.isOpenPunctuation(ch)) {
    print(char2Str(ch) + ' is open punctuation');
  }

  ch = unicode.toRune('©');
  if (unicode.isOtherSymbol(ch)) {
    print(char2Str(ch) + ' is other symbol');
  }

  ch = unicode.toRune('ǁ');
  if (unicode.isOtherLetter(ch)) {
    print(char2Str(ch) + ' is other letter');
  }
}

String char2Str(int c) {
  return String.fromCharCode(c);
}

7
likes
120
pub points
84%
popularity

Publisher

unverified uploader

Unicode characters library auto generated from http://www.unicode.org.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

lists

More

Packages that depend on unicode