zh_char_converter 0.1.2
zh_char_converter: ^0.1.2 copied to clipboard

Dart native js
Flutter Android iOS Linux macOS web Windows

Replace charters in a string, between zh-cn and zh-tw. (中文 简体 - 繁體 互換)

example/zh_char_converter_example.dart

import 'package:zh_char_converter/zh_char_converter.dart';

main() {
  String testString = '两岸猿声啼不住,輕舟已過萬重山。 Li Bai,courtesy name Taibai.';
  String cn = zhCN(testString);
  print('zh_CN: $cn');
  String tw = zhTW(testString);
  print('zh_TW: $tw');
}
0
likes
75
pub points
30%
popularity

Replace charters in a string, between zh-cn and zh-tw. (中文 简体 - 繁體 互換)

Homepage

Uploader

0@coodtec.com

License

MIT (LICENSE)

More

Packages that depend on zh_char_converter