gbk_codec 0.3.2
gbk_codec: ^0.3.2 copied to clipboard

Dart native js
Flutter Android iOS web

GBK codec converter (enCode and deCode) library includes bytes codec.

0
likes
100 / 110
pub points
93 %
popularity

We analyzed this package on Jan 26, 2021, and awarded it 100 pub points (of a possible 110):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/gbk_codec_example.dart

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

  • 1 out of 3 API elements (33.3 %) 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 31 issues. Showing the first 2:

INFO: Unnecessary new keyword.

lib/src/converter_gbk.dart:5:17

  ╷
5 │ gbkCodec gbk =  new gbkCodec();
  │                 ^^^^^^^^^^^^^^
  ╵

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

INFO: Unnecessary new keyword.

lib/src/converter_gbk.dart:7:37

  ╷
7 │ Map<int, String> _gbkCode_to_char = new Map<int, String>();
  │                                     ^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
html^0.14.0+20.14.0+40.14.0+4
Transitive dependencies
PackageConstraintCompatibleLatest
charcode-1.1.31.1.3
collection-1.14.131.14.13
csslib-0.16.20.16.2
meta-1.2.41.2.4
path-1.7.01.7.0
source_span-1.7.01.7.0
term_glyph-1.1.01.1.0

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
100
pub points
93%
popularity

GBK codec converter (enCode and deCode) library includes bytes codec.

Homepage

Documentation

API reference

Uploader

0@coodtec.com

License

MIT (LICENSE)

Dependencies

html

More

Packages that depend on gbk_codec