pf_dart_http 1.0.0 copy "pf_dart_http: ^1.0.0" to clipboard
pf_dart_http: ^1.0.0 copied to clipboard

Problem Fighter make a library for HTTP Request, Which is basically use of Dart HTTP package. The object of this library is use the dart http library with easy way with all combination such as POST, G [...]

100/ 160
pub points
6
downloads

We analyzed this package 4 days ago, and awarded it 100 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 long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

Documentation URL doesn't exist.

At the time of the analysis https://hmtmcse.com/df-lib/easy/pf-dart-http was unreachable. Make sure that the website is reachable via HEAD requests.

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: Apache-2.0.

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

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

0 out of 26 API elements (0.0 %) 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.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: pf_dart_http, pf_dart_http.PFDartHTTP, pf_dart_http.PFDartHTTP.APPLICATION_JSON, pf_dart_http.PFDartHTTP.CONTENT_TYPE, pf_dart_http.PFDartHTTP.DELERERequest.

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 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:pf_dart_http/pf_dart_http.dart that imports:
  • package:pf_dart_http/src/pf_dart_http.dart that imports:
  • dart:io
Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

Found 8 issues. Showing the first 2:

WARNING: Unnecessary type check; the result is always 'true'.

lib/src/pf_dart_http.dart:119:9

    ╷
119 │     if (files is Map){
    │         ^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/pf_dart_http.dart

WARNING: Unnecessary type check; the result is always 'true'.

lib/src/pf_dart_http.dart:121:13

    ╷
121 │         if (name is String && file is File && await file.exists()){
    │             ^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/pf_dart_http.dart

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

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

Package Constraint Compatible Latest Notes
http ^0.13.3 0.13.6 1.6.0
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
collection - 1.19.1 1.19.1
http_parser - 4.1.2 4.1.2
meta - 1.18.1 1.18.1
path - 1.9.1 1.9.1
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0

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

The constraint `^0.13.3` on http does not support the stable version `1.0.0`.

Try running dart pub upgrade --major-versions http to update the constraint.

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.10, Dart 3.11.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
3
likes
100
points
6
downloads

Publisher

verified publisherproblemfighter.com

Weekly Downloads

Problem Fighter make a library for HTTP Request, Which is basically use of Dart HTTP package. The object of this library is use the dart http library with easy way with all combination such as POST, GET, PUT, DELETE, File upload etc, you may use the single file codes directly, without include this library.

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

Apache-2.0 (license)

Dependencies

http

More

Packages that depend on pf_dart_http