requests_inspector 3.4.1 copy "requests_inspector: ^3.4.1" to clipboard
requests_inspector: ^3.4.1 copied to clipboard

A Flutter package for logging REST-APIs and GraphQL requests and accessing it by Shaking your phone to get the RequestsInspector widget on your screen.

89
likes
125/ 140
pub points
91%
popularity

We analyzed this package 4 days ago, and awarded it 125 pub points (of a possible 140):

failed
Follow Dart file conventions
25 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

0/5 points: Provide a valid README.md

Links in `README.md` should be well formed Unable to parse 1 image link.

README.md:78:48

   ╷
78 │ <p>To use <code>requests_inspector</code> with <a href="'https://pub.dev/packages/graphql_flutter'">graphql_flutter</a> library.
   │                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

15 out of 55 API elements (27.3 %) have documentation comments.

Some symbols that are missing documentation: requests_inspector, requests_inspector.GraphQLInspectorLink, requests_inspector.GraphQLInspectorLink.GraphQLInspectorLink, requests_inspector.InspectorController.addNewRequest, requests_inspector.InspectorController.clearAllRequests.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS
  • ✓ Web

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:requests_inspector/requests_inspector.dart that imports:
  • package:requests_inspector/src/inspector_controller.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:requests_inspector/requests_inspector.dart that imports:
  • package:requests_inspector/src/inspector_controller.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 `Windows`.

Because:

  • package:requests_inspector/requests_inspector.dart that imports:
  • package:requests_inspector/src/inspector_controller.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:requests_inspector/requests_inspector.dart that imports:
  • package:requests_inspector/src/inspector_controller.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:requests_inspector/requests_inspector.dart that imports:
  • package:requests_inspector/src/inspector_controller.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:requests_inspector/requests_inspector.dart that imports:
  • package:requests_inspector/src/inspector_controller.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.
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 15 issues. Showing the first 2:

INFO: Statements in an if should be enclosed in a block.

lib/src/graphql_inspector_link.dart:17:7

   ╷
17 │       return _handleHttpRequest(link, request, forward);
   │       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

INFO: Statements in an if should be enclosed in a block.

lib/src/graphql_inspector_link.dart:19:7

   ╷
19 │       return _handleWebSocketRequest(link, request, forward);
   │       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

OK
Support up-to-date dependencies
20 / 20trigger folding of the section

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

Package Constraint Compatible Latest
collection ^1.15.0 1.18.0 1.18.0
dio ^5.0.0 5.4.1 5.4.1
flutter flutter 0.0.0 0.0.0
gql ^1.0.0+1 1.0.1-alpha+1709845491443 1.0.1-alpha+1709845491443
graphql ^5.1.3 5.2.0-beta.7 5.2.0-beta.7
graphql_flutter ^5.1.2 5.2.0-beta.6 5.2.0-beta.6
provider ^6.0.5 6.1.2 6.1.2
shake ^2.2.0 2.2.0 2.2.0
share_plus ^7.0.2 7.2.2 7.2.2
Transitive dependencies
Package Constraint Compatible Latest
args - 2.4.2 2.4.2
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
connectivity_plus - 5.0.2 5.0.2
connectivity_plus_platform_interface - 1.2.4 1.2.4
cross_file - 0.3.4+1 0.3.4+1
crypto - 3.0.3 3.0.3
dbus - 0.7.10 0.7.10
ffi - 2.1.2 2.1.2
file - 7.0.0 7.0.0
fixnum - 1.1.0 1.1.0
flutter_hooks - 0.20.5 0.20.5
flutter_web_plugins - 0.0.0 0.0.0
gql_dedupe_link - 2.0.4-alpha+1709845491527 2.0.4-alpha+1709845491527
gql_error_link - 1.0.0+1 1.0.0+1
gql_exec - 1.1.1-alpha+1699813812660 1.1.1-alpha+1699813812660
gql_http_link - 1.0.1+1 1.0.1+1
gql_link - 1.0.1-alpha+1709845491457 1.0.1-alpha+1709845491457
gql_transform_link - 1.0.0 1.0.0
hive - 2.2.3 2.2.3
http - 1.2.1 1.2.1
http_parser - 4.0.2 4.0.2
js - 0.6.7 0.7.1
logging - 1.2.0 1.2.0
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.12.0
mime - 1.0.5 1.0.5
nested - 1.0.0 1.0.0
nm - 0.5.0 0.5.0
normalize - 0.8.2+1 0.9.1
path - 1.9.0 1.9.0
path_provider - 2.1.2 2.1.2
path_provider_android - 2.2.2 2.2.2
path_provider_foundation - 2.3.2 2.3.2
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.2.1 2.2.1
petitparser - 6.0.2 6.0.2
platform - 3.1.4 3.1.4
plugin_platform_interface - 2.1.8 2.1.8
rxdart - 0.27.7 0.27.7
sensors_plus - 1.4.1 4.0.2
sensors_plus_platform_interface - 1.2.0 1.2.0
sensors_plus_web - 1.1.2 1.1.2
share_plus_platform_interface - 3.3.1 3.3.1
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
url_launcher_linux - 3.1.1 3.1.1
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.0 2.3.0
url_launcher_windows - 3.1.1 3.1.1
uuid - 4.3.3 4.3.3
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1
web_socket_channel - 2.4.4 2.4.4
win32 - 5.3.0 5.3.0
xdg_directories - 1.0.4 1.0.4
xml - 6.5.0 6.5.0
yaml - 3.1.2 3.1.2

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

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

Analyzed with Pana 0.22.2, Flutter 3.19.2, Dart 3.3.0.

Check the analysis log for details.

89
likes
125
pub points
91%
popularity

Publisher

verified publisherabdelazeem-kuratem.engineer

A Flutter package for logging REST-APIs and GraphQL requests and accessing it by Shaking your phone to get the RequestsInspector widget on your screen.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

collection, dio, flutter, gql, graphql, graphql_flutter, provider, shake, share_plus

More

Packages that depend on requests_inspector