unified_http_client 0.0.7+2 copy "unified_http_client: ^0.0.7+2" to clipboard
unified_http_client: ^0.0.7+2 copied to clipboard

A Flutter Package to provide smooth Api call with All Error and Exception handeled.

130/ 160
pub points
259
downloads

We analyzed this package 33 hours ago, and awarded it 130 pub points (of a possible 160):

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

85 out of 160 API elements (53.1 %) have documentation comments.

Some symbols that are missing documentation: dio_api, dio_api.PackageDio.handleDioException, http_api, internet_checker, internet_checker.InternetConnectionChecker.InternetConnectionChecker.new.

Passed check 10/10 points: Package has 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:unified_http_client/unified_http_client.dart that imports:
  • package:unified_http_client/result.dart that imports:
  • package:unified_http_client/unified_http_client_service.dart that imports:
  • package:unified_http_client/http_api.dart that imports:
  • dart:io

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:unified_http_client/unified_http_client.dart that imports:
  • package:unified_http_client/result.dart that imports:
  • package:unified_http_client/unified_http_client_service.dart that imports:
  • package:unified_http_client/internet_checker.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `iOS`.

Because:

  • package:unified_http_client/unified_http_client.dart that imports:
  • package:unified_http_client/result.dart that imports:
  • package:unified_http_client/unified_http_client_service.dart that imports:
  • package:unified_http_client/internet_checker.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `Windows`.

Because:

  • package:unified_http_client/unified_http_client.dart that imports:
  • package:unified_http_client/result.dart that imports:
  • package:unified_http_client/unified_http_client_service.dart that imports:
  • package:unified_http_client/internet_checker.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `macOS`.

Because:

  • package:unified_http_client/unified_http_client.dart that imports:
  • package:unified_http_client/result.dart that imports:
  • package:unified_http_client/unified_http_client_service.dart that imports:
  • package:unified_http_client/internet_checker.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
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 14 issues. Showing the first 2:

WARNING: The value of the local variable 'message' isn't used.

lib/dio_api.dart:70:12

   ╷
70 │     String message = "Something went wrong";
   │            ^^^^^^^
   ╵

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

WARNING: The value of the field '_blue' isn't used.

lib/src/package_logger.dart:11:23

   ╷
11 │   static const String _blue = '\x1B[34m';
   │                       ^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/package_logger.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
connectivity_plus ^6.0.5 6.1.5 7.0.0
dio ^5.7.0 5.9.1 5.9.1
http ^1.2.2 1.6.0 1.6.0
http_parser ^4.1.2 4.1.2 4.1.2
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
connectivity_plus_platform_interface - 2.0.1 2.0.1
dbus - 0.7.12 0.7.12
dio_web_adapter - 2.1.1 2.1.1
ffi - 2.2.0 2.2.0
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.1
mime - 2.0.0 2.0.0
nm - 0.5.0 0.5.0
path - 1.9.1 1.9.1
petitparser - 7.0.2 7.0.2
plugin_platform_interface - 2.1.8 2.1.8
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
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
xml - 6.6.1 6.6.1

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

The constraint `^6.0.5` on connectivity_plus does not support the stable version `7.0.0`.

Try running dart pub upgrade --major-versions connectivity_plus 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, Flutter 3.41.0, Dart 3.11.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
130
points
259
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter Package to provide smooth Api call with All Error and Exception handeled.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

connectivity_plus, dio, flutter, http, http_parser

More

Packages that depend on unified_http_client