pinyin 3.3.0 copy "pinyin: ^3.3.0" to clipboard
pinyin: ^3.3.0 copied to clipboard

Convert Chinese characters to pinyin, simplified or traditional Chinese. Accurate and complete Chinese character dictionary. Fast conversion.

5
likes
130/ 140
pub points
83%
popularity

We analyzed this package 12 days ago, and awarded it 130 pub points (of a possible 140):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: BSD-2-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

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

46 out of 102 API elements (45.1 %) have documentation comments.

Some symbols that are missing documentation: phrase_map, phrase_map.maxPhraseLengthPy, phrase_map.minPhraseLengthPy, phrase_map.phrasePinyin, phrase_simp_to_trad.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS
  • ✓ Web
partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

Found 4 issues. Showing the first 2:

lib/src/chinese_helper.dart doesn't match the Dart formatter.

To format your files run: dart format .

lib/src/phrase_converter.dart doesn't match the Dart formatter.

To format your files run: dart format .

OK
Support up-to-date dependencies
20 / 20trigger folding of the section

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

No dependencies.

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

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

Analyzed with Pana 0.22.3, Dart 3.3.3.

Check the analysis log for details.

5
likes
130
pub points
83%
popularity

Publisher

verified publishersunjiao.net

Convert Chinese characters to pinyin, simplified or traditional Chinese. Accurate and complete Chinese character dictionary. Fast conversion.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (LICENSE)

More

Packages that depend on pinyin