Skip to main content

flutter_api_traffic_inspector 0.2.0 copy "flutter_api_traffic_inspector: ^0.2.0" to clipboard
flutter_api_traffic_inspector: ^0.2.0 copied to clipboard

A developer-friendly HTTP and WebSocket traffic inspector for Flutter with a real-time tabbed UI, Dio & http support, and SQLite persistence.

130/ 160
pub points
1.14k
downloads

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

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

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://github.com/chandhur/flutter_api_traffic_inspector was unreachable. Make sure that the website is reachable via HEAD requests.

Repository URL doesn't exist.

At the time of the analysis https://github.com/chandhur/flutter_api_traffic_inspector was unreachable. Make sure that the website is reachable via HEAD requests.

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/chandhur/flutter_api_traffic_inspector/issues 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: 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

104 out of 215 API elements (48.4 %) have documentation comments.

Some symbols that are missing documentation: flutter_api_traffic_inspector, flutter_api_traffic_inspector.ApiCallRecord, flutter_api_traffic_inspector.ApiCallRecord.ApiCallRecord.new, flutter_api_traffic_inspector.ApiCallRecord.duration, flutter_api_traffic_inspector.ApiCallRecord.error.

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 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:flutter_api_traffic_inspector/flutter_api_traffic_inspector.dart that imports:
  • package:flutter_api_traffic_inspector/src/ui/websocket/ws_session_details_screen.dart that imports:
  • package:flutter_api_traffic_inspector/src/core/inspector_controller.dart that imports:
  • package:flutter_api_traffic_inspector/src/persistence/api_history_repository.dart that imports:
  • package:flutter_api_traffic_inspector/src/persistence/api_history_database.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:flutter_api_traffic_inspector/flutter_api_traffic_inspector.dart that imports:
  • package:flutter_api_traffic_inspector/src/ui/websocket/ws_session_details_screen.dart that imports:
  • package:flutter_api_traffic_inspector/src/core/inspector_controller.dart that imports:
  • package:flutter_api_traffic_inspector/src/persistence/api_history_repository.dart that imports:
  • package:flutter_api_traffic_inspector/src/persistence/api_history_database.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Web`.

Because:

  • package:flutter_api_traffic_inspector/flutter_api_traffic_inspector.dart that imports:
  • package:flutter_api_traffic_inspector/src/ui/websocket/ws_session_details_screen.dart that imports:
  • package:flutter_api_traffic_inspector/src/core/inspector_controller.dart that imports:
  • package:flutter_api_traffic_inspector/src/persistence/api_history_repository.dart that imports:
  • package:flutter_api_traffic_inspector/src/persistence/api_history_database.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.
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

Found 14 issues. Showing the first 2:

INFO: 'package:flutter/material.dart' is deprecated and shouldn't be used. Use package:material_ui/material_ui.dart instead. This feature was deprecated after v3.47.0-0.0.pre.

lib/src/core/api_inspector.dart:1:1

  ╷
1 │ import 'package:flutter/material.dart';
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

INFO: 'package:flutter/material.dart' is deprecated and shouldn't be used. Use package:material_ui/material_ui.dart instead. This feature was deprecated after v3.47.0-0.0.pre.

lib/src/ui/dashboard/inspector_dashboard_screen.dart:2:1

  ╷
2 │ import 'package:flutter/material.dart';
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ui/dashboard/inspector_dashboard_screen.dart

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.0.0 <6.0.0 5.11.1 5.11.1
http >=1.0.0 <2.0.0 1.6.0 1.6.0
path ^1.9.0 1.9.1 1.9.1
sqflite ^2.4.0 2.4.6 2.4.6
stream_channel ^2.1.0 2.1.4 2.1.4
web_socket_channel >=2.4.0 <4.0.0 3.0.3 3.0.3
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.1 2.13.1
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
crypto - 3.0.8 3.0.8
dio_web_adapter - 2.2.2 2.2.2
http_parser - 4.1.2 4.1.2
listen - 1.0.1 1.0.1
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
mime - 2.1.0 2.1.0
platform - 3.2.0 3.2.0
plugin_platform_interface - 2.1.8 2.1.8
source_span - 1.10.2 1.10.2
sqflite_android - 2.4.6 2.4.6
sqflite_common - 2.5.17 2.5.17
sqflite_darwin - 2.4.6 2.4.6
sqflite_platform_interface - 2.4.4 2.4.4
string_scanner - 1.4.1 1.4.1
synchronized - 3.6.1+1 3.6.1+1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.4.4 2.4.4
web - 1.1.2 1.1.2
web_socket - 1.0.1 1.0.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 3 errors:

  • UNDEFINED_CLASS - lib/src/adapters/dio/dio_inspector_interceptor.dart:67:5 - Undefined class 'DioException'.
  • UNDEFINED_CLASS - lib/src/adapters/dio/dio_inspector_interceptor.dart:153:22 - Undefined class 'DioException'.
  • UNDEFINED_IDENTIFIER - lib/src/adapters/dio/dio_inspector_interceptor.dart:165:39 - Undefined name 'DioExceptionType'.

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.23.19, Flutter 3.50.0, Dart 3.14.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
130
points
1.14k
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A developer-friendly HTTP and WebSocket traffic inspector for Flutter with a real-time tabbed UI, Dio & http support, and SQLite persistence.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

dio, flutter, http, path, sqflite, stream_channel, web_socket_channel

More

Packages that depend on flutter_api_traffic_inspector