http_encapsulation 0.0.4
http_encapsulation: ^0.0.4 copied to clipboard

Flutter Android iOS web

http_encapsulation工具。一款简单二次封装dio的package

0
likes
70 / 110
pub points
0 %
popularity

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

Follow Dart file conventions
10 / 20

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

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.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
0 / 20

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

  • 13 out of 75 API elements (17.3 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

Support multiple platforms
20 / 20

20/20 points: Supports 3 of 3 possible platforms (iOS, Android, Web)

Pass static analysis
20 / 30

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

Found 27 issues. Showing the first 2:

INFO: Prefer using /// for doc comments.

lib/com/tcl/flutter/http/EntityFactory.dart:5:1

  ╷
5 │ ┌ /**
6 │ │  * Json转换辅助工厂,把json转为T
7 │ └  */
  ╵

To reproduce make sure you are using pedantic and run flutter analyze lib/com/tcl/flutter/http/EntityFactory.dart

INFO: Prefer using /// for doc comments.

lib/com/tcl/flutter/http/ErrorEntity.dart:1:1

  ╷
1 │ ┌ /**
2 │ │  * 请求报错基类,{"code":0, "message":""}
3 │ └  */
  ╵

To reproduce make sure you are using pedantic and run flutter analyze lib/com/tcl/flutter/http/ErrorEntity.dart

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
dio^3.0.93.0.103.0.10
Transitive dependencies
PackageConstraintCompatibleLatest
characters-1.1.0-nullsafety.51.1.0-nullsafety.5
charcode-1.1.31.2.0-nullsafety.3
collection-1.15.0-nullsafety.51.15.0-nullsafety.5
http_parser-3.1.43.1.4
meta-1.3.0-nullsafety.61.3.0-nullsafety.6
path-1.7.01.8.0-nullsafety.3
source_span-1.7.01.8.0-nullsafety.4
string_scanner-1.0.51.1.0-nullsafety.3
term_glyph-1.1.01.2.0-nullsafety.3
typed_data-1.3.0-nullsafety.51.3.0-nullsafety.5
vector_math-2.1.0-nullsafety.52.1.0-nullsafety.5

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
70
pub points
0%
popularity

http_encapsulation工具。一款简单二次封装dio的package

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

yiqian0208@gmail.com

License

BSD (LICENSE)

Dependencies

dio, flutter

More

Packages that depend on http_encapsulation