dio_wrapper 0.0.1 copy "dio_wrapper: ^0.0.1" to clipboard
dio_wrapper: ^0.0.1 copied to clipboard

A Dio wrapper to implement logging and caching.

130/ 160
pub points
15
downloads

We analyzed this package 18 hours ago, and awarded it 130 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.

  • pubspec.yaml doesn't have a homepage entry.

  • pubspec.yaml doesn't have a repository entry.

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

267 out of 384 API elements (69.5 %) have documentation comments.

Some symbols that are missing documentation: dio_wrapper, dio_wrapper.BackgroundTransformer.BackgroundTransformer.new, dio_wrapper.BaseOptions.BaseOptions.new, dio_wrapper.BaseOptions.contentType, dio_wrapper.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 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Web`.

Because:

  • package:dio_wrapper/dio_wrapper.dart that imports:
  • package:dio_wrapper/src/dio_handler.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.
Passed report section
Pass static analysis
50 / 50trigger folding of the section

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

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
dio ^5.4.0 5.9.0 5.9.0
dio_cache_interceptor ^3.5.0 3.5.1 4.0.5
dio_cache_interceptor_hive_store ^3.2.2 3.2.2 4.0.0 Discontinued
path_provider ^2.1.1 2.1.5 2.1.5
pretty_dio_logger ^1.3.1 1.4.0 1.4.0
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
dio_web_adapter - 2.1.1 2.1.1
ffi - 2.1.4 2.1.4
fixnum - 1.1.1 1.1.1
hive - 2.2.3 2.2.3
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
mime - 2.0.0 2.0.0
path - 1.9.1 1.9.1
path_provider_android - 2.2.22 2.2.22
path_provider_foundation - 2.5.1 2.5.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
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
uuid - 4.5.2 4.5.2
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0

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

Found 3 issues. Showing the first 2:

The constraint `^3.5.0` on dio_cache_interceptor does not support the stable version `4.0.0`.

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

The constraint `^3.2.2` on dio_cache_interceptor_hive_store does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions dio_cache_interceptor_hive_store 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.5, Flutter 3.38.5, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
130
points
15
downloads

Publisher

unverified uploader

Weekly Downloads

A Dio wrapper to implement logging and caching.

Documentation

API reference

License

MIT (license)

Dependencies

dio, dio_cache_interceptor, dio_cache_interceptor_hive_store, flutter, path_provider, pretty_dio_logger

More

Packages that depend on dio_wrapper