zh_char_converter 0.1.2

Dart native js
Flutter Android iOS web

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

0
likes
85 / 110
pub points
8 %
popularity

We analyzed this package on Sep 25, 2020, and awarded it 85 pub points (of a possible 110):

Follow Dart file conventions
5 / 20

0/10 points: Provide a valid pubspec.yaml

The package description contains too many non-ASCII characters.

The site uses English as its primary language. The content of the description field in your package's pubspec.yaml should primarily contain characters used in English.

0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 1 link is insecure.

README.md:18:49

   ╷
18 │ <p>Please file feature requests and bugs at the <a href="http://example.com/issues/replaceme">issue tracker</a>.</p>
   │                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

Use https URLs instead.

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/zh_char_converter_example.dart

10/10 points: 20% or more of the public API has dartdoc comments

  • 1 out of 5 API elements (20.0 %) have documentation comments.
Support multiple platforms
20 / 20

20/20 points: Supports 2 of 2 possible platforms (native, js)

Pass static analysis
20 / 30

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 5 issues. Showing the first 2:

INFO: Unnecessary new keyword.

lib/zh_char_converter.dart:10:23

   ╷
10 │   List<int> rtnCode = new List<int>();
   │                       ^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/zh_char_converter.dart

INFO: Unnecessary new keyword.

lib/zh_char_converter.dart:21:10

   ╷
21 │   return new String.fromCharCodes(rtnCode);
   │          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/zh_char_converter.dart

Support up-to-date dependencies
20 / 20

10/10 points: All of the package dependencies are supported in the latest version

No dependencies.

To reproduce run pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

10/10 points: Package supports latest stable Dart and Flutter SDKs

0
likes
85
pub points
8%
popularity

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

Homepage

Documentation

API reference

Uploader

0@coodtec.com

License

MIT (LICENSE)

More

Packages that depend on zh_char_converter