zh_char_converter 0.1.1
zh_char_converter: ^0.1.1 copied to clipboard

Dart native js
Flutter Android iOS web

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

A library for Dart developers.

Created from templates made available by Stagehand under a BSD-style license.

Usage #

A simple usage example:

import 'package:zhCharDict/zhCharDict.dart';

main() {
   // function 1:  String zhCN(String input)  繁體輸出
   String cn = zhCN('两岸猿声啼不住,輕舟已過萬重山。 Li Bai,courtesy name Taibai.');
   print('zh_CN: $cn');
   
   // function 2:  String zhTW(String input)  简体输出 
   String tw = zhTW('两岸猿声啼不住,輕舟已過萬重山。 Li Bai,courtesy name Taibai.');
   print('zh_TW: $tw');  
}

Features and bugs #

Please file feature requests and bugs at the issue tracker.

0
likes
85
pub points
26%
popularity

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

Homepage

Documentation

API reference

Uploader

0@coodtec.com

License

MIT (LICENSE)

More

Packages that depend on zh_char_converter