xxf_http 0.0.3 copy "xxf_http: ^0.0.3" to clipboard
xxf_http: ^0.0.3 copied to clipboard

http封装和拓展

1
likes
110/ 160
pub points
81
downloads

We analyzed this package 9 days ago, and awarded it 110 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 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 50 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.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

274 out of 441 API elements (62.1 %) have documentation comments.

Some symbols that are missing documentation: xxf_http, xxf_http.BackgroundTransformer.BackgroundTransformer.new, xxf_http.BaseOptions.BaseOptions.new, xxf_http.BaseOptions.contentType, xxf_http.BaseOptions.extra.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Passed check 0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

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

/tmp/pana_SUSVMF/lib/src/user_client_adapter_annotation.dart doesn't match the Dart formatter.

To format your files run: dart format .

/tmp/pana_SUSVMF/lib/xxf_http.dart doesn't match the Dart formatter.

To format your files run: dart format .

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
dio ^5.8.0+1 5.8.0+1 5.8.0+1
json_annotation ^4.9.0 4.9.0 4.9.0
retrofit any 4.4.2 4.4.2
xxf_annotations any 0.0.2 0.0.2
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
dio_web_adapter - 2.1.1 2.1.1
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
path - 1.9.1 1.9.1
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.2.0
web - 1.1.1 1.1.1

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 2 errors:

  • NOT_ENOUGH_POSITIONAL_ARGUMENTS - lib/src/user_client_adapter_annotation.dart:5:18 - 1 positional argument expected by 'AnnotationClass.new', but 0 found.
  • UNDEFINED_NAMED_PARAMETER - lib/src/user_client_adapter_annotation.dart:5:18 - The named parameter 'description' isn't defined.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.21, Flutter 3.32.1, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
110
points
81
downloads

Publisher

unverified uploader

Weekly Downloads

http封装和拓展

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

dio, flutter, json_annotation, retrofit, xxf_annotations

More

Packages that depend on xxf_http