network_inspector 1.1.1 copy "network_inspector: ^1.1.1" to clipboard
network_inspector: ^1.1.1 copied to clipboard

Http inspector / logger for Dio and Http package. This package would allow you to log every Http request, response, and error from Dio & Http.

29
likes
120/ 160
pub points
84%
popularity

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

partial
Provide documentation
10 / 20trigger folding of the section

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

40 out of 250 API elements (16.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: activity_detail_page, activity_detail_page.ActivityDetailPage.bodyContent, activity_detail_page.ActivityDetailPage.bodyHeader, activity_detail_page.ActivityDetailPage.buildBody, activity_detail_page.ActivityDetailPage.httpActivity.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:network_inspector/network_inspector.dart that imports:
  • package:network_inspector/presentation/pages/activity_page.dart that imports:
  • package:network_inspector/presentation/controllers/activity_provider.dart that imports:
  • package:network_inspector/presentation/pages/activity_detail_page.dart that imports:
  • package:network_inspector/presentation/pages/http_response_page.dart that imports:
  • package:network_inspector/presentation/controllers/activity_detail_provider.dart that imports:
  • package:share_plus/share_plus.dart that imports:
  • package:share_plus/src/share_plus_linux.dart that imports:
  • package:url_launcher_linux/url_launcher_linux.dart that declares support for platforms: Linux.
Package does not support platform `Linux`.

Because:

  • package:network_inspector/network_inspector.dart that imports:
  • package:network_inspector/presentation/pages/activity_page.dart that imports:
  • package:network_inspector/presentation/controllers/activity_provider.dart that imports:
  • package:network_inspector/presentation/pages/activity_detail_page.dart that imports:
  • package:network_inspector/presentation/pages/http_response_page.dart that imports:
  • package:network_inspector/presentation/controllers/activity_detail_provider.dart that imports:
  • package:share_plus/share_plus.dart that imports:
  • package:share_plus/src/share_plus_windows.dart that imports:
  • package:url_launcher_windows/url_launcher_windows.dart that declares support for platforms: Windows.
Package does not support platform `Web`.

Because:

  • package:network_inspector/network_inspector.dart that imports:
  • package:network_inspector/presentation/pages/activity_page.dart that imports:
  • package:network_inspector/presentation/controllers/activity_provider.dart that imports:
  • package:network_inspector/presentation/pages/activity_detail_page.dart that imports:
  • package:network_inspector/presentation/pages/http_response_page.dart that imports:
  • package:network_inspector/presentation/controllers/activity_detail_provider.dart that imports:
  • package:share_plus/share_plus.dart that imports:
  • package:share_plus/src/share_plus_web.dart that imports:
  • package:share_plus_platform_interface/share_plus_platform_interface.dart that imports:
  • package:share_plus_platform_interface/platform_interface/share_plus_platform.dart that imports:
  • package:share_plus_platform_interface/method_channel/method_channel_share.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

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:network_inspector/network_inspector.dart that imports:
  • package:network_inspector/presentation/pages/activity_page.dart that imports:
  • package:network_inspector/presentation/controllers/activity_provider.dart that imports:
  • package:network_inspector/presentation/pages/activity_detail_page.dart that imports:
  • package:network_inspector/presentation/pages/http_response_page.dart that imports:
  • package:network_inspector/presentation/controllers/activity_detail_provider.dart that imports:
  • package:share_plus/share_plus.dart that imports:
  • package:share_plus/src/share_plus_windows.dart that imports:
  • package:url_launcher_windows/url_launcher_windows.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:network_inspector/network_inspector.dart that imports:
  • package:network_inspector/presentation/pages/activity_page.dart that imports:
  • package:network_inspector/presentation/controllers/activity_provider.dart that imports:
  • package:network_inspector/presentation/pages/activity_detail_page.dart that imports:
  • package:network_inspector/presentation/pages/http_response_page.dart that imports:
  • package:network_inspector/presentation/controllers/activity_detail_provider.dart that imports:
  • package:share_plus/share_plus.dart that imports:
  • package:share_plus/src/share_plus_windows.dart that imports:
  • package:url_launcher_windows/url_launcher_windows.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:network_inspector/network_inspector.dart that imports:
  • package:network_inspector/presentation/pages/activity_page.dart that imports:
  • package:network_inspector/presentation/controllers/activity_provider.dart that imports:
  • package:network_inspector/presentation/pages/activity_detail_page.dart that imports:
  • package:network_inspector/presentation/pages/http_response_page.dart that imports:
  • package:network_inspector/presentation/controllers/activity_detail_provider.dart that imports:
  • package:share_plus/share_plus.dart that imports:
  • package:share_plus/src/share_plus_windows.dart that imports:
  • package:url_launcher_windows/url_launcher_windows.dart that declares support for platforms: Windows.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:network_inspector/network_inspector.dart that imports:
  • package:network_inspector/presentation/pages/activity_page.dart that imports:
  • package:network_inspector/presentation/controllers/activity_provider.dart that imports:
  • package:network_inspector/presentation/pages/activity_detail_page.dart that imports:
  • package:network_inspector/presentation/pages/http_response_page.dart that imports:
  • package:network_inspector/presentation/controllers/activity_detail_provider.dart that imports:
  • package:share_plus/share_plus.dart that imports:
  • package:share_plus/src/share_plus_web.dart that imports:
  • package:share_plus_platform_interface/share_plus_platform_interface.dart that imports:
  • package:share_plus_platform_interface/platform_interface/share_plus_platform.dart that imports:
  • package:share_plus_platform_interface/method_channel/method_channel_share.dart that imports:
  • package:path_provider/path_provider.dart that imports:
  • package:path_provider_platform_interface/path_provider_platform_interface.dart that imports:
  • package:path_provider_platform_interface/src/method_channel_path_provider.dart that imports:
  • package:platform/platform.dart that imports:
  • package:platform/src/interface/local_platform.dart that imports:
  • dart:io

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

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

OK
Pass static analysis
50 / 50trigger folding of the section

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

failed
Support up-to-date dependencies
10 / 40trigger folding of the section

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

Package Constraint Compatible Latest
analyzer ^6.2.0 6.7.0 7.0.0
collection ^1.17.2 1.18.0 1.19.1
dio ^5.1.0 5.7.0 5.7.0
flutter flutter 0.0.0 0.0.0
http ^1.0.0 1.2.2 1.2.2
intl ^0.19.0 0.19.0 0.20.0
provider ^6.0.5 6.1.2 6.1.2
share_plus ^9.0.0 9.0.0 10.1.2
sqflite ^2.2.6 2.4.1 2.4.1
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 72.0.0 77.0.0
_macros - 0.3.2 0.3.2
async - 2.12.0 2.12.0
characters - 1.3.0 1.3.1
clock - 1.1.2 1.1.2
convert - 3.1.2 3.1.2
cross_file - 0.3.4+2 0.3.4+2
crypto - 3.0.6 3.0.6
dio_web_adapter - 2.0.0 2.0.0
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flutter_web_plugins - 0.0.0 0.0.0
glob - 2.1.2 2.1.2
http_parser - 4.0.2 4.1.1
macros - 0.1.2-main.4 0.1.3-main.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
mime - 1.0.6 2.0.0
nested - 1.0.0 1.0.0
package_config - 2.1.0 2.1.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.12 2.2.12
path_provider_foundation - 2.4.0 2.4.0
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
pub_semver - 2.1.4 2.1.4
share_plus_platform_interface - 4.0.0 5.0.1
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
sqflite_android - 2.4.0 2.4.0
sqflite_common - 2.5.4+6 2.5.4+6
sqflite_darwin - 2.4.1 2.4.1
sqflite_platform_interface - 2.4.0 2.4.0
string_scanner - 1.4.0 1.4.0
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
url_launcher_linux - 3.2.1 3.2.1
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.3 2.3.3
url_launcher_windows - 3.1.3 3.1.3
uuid - 4.5.1 4.5.1
vector_math - 2.1.4 2.1.4
watcher - 1.1.0 1.1.0
web - 0.5.1 1.1.0
win32 - 5.8.0 5.8.0
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.2 3.1.2

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

Found 3 issues. Showing the first 2:

The constraint `^6.2.0` on analyzer does not support the stable version `7.0.0`, that was published 0 days ago.

When analyzer is 30 days old, this package will no longer be awarded points in this category.

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

The constraint `^0.19.0` on intl does not support the stable version `0.20.0`, that was published 8 days ago.

When intl is 30 days old, this package will no longer be awarded points in this category.

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

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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • UNDEFINED_CLASS - lib/common/utils/dio_interceptor.dart:63:5 - Undefined class 'DioException'.

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.15, Flutter 3.24.5, Dart 3.5.4.

Check the analysis log for details.

29
likes
120
pub points
84%
popularity

Publisher

verified publishermeruyatechnology.com

Http inspector / logger for Dio and Http package. This package would allow you to log every Http request, response, and error from Dio & Http.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

analyzer, collection, dio, flutter, http, intl, provider, share_plus, sqflite

More

Packages that depend on network_inspector