requests_inspector 2.5.0 requests_inspector: ^2.5.0 copied to clipboard
A Flutter package for logging API requests and accessing it by Shaking your phone to get the RequestsInspector widget on your screen.
We analyzed this package 2 days ago, and awarded it 140 pub points (of a possible 160):
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: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
11 out of 55 API elements (20.0 %) have documentation comments.
Some symbols that are missing documentation: requests_inspector
, requests_inspector.HasuraGraphQLInterceptor
, requests_inspector.HasuraGraphQLInterceptor.HasuraGraphQLInterceptor
, requests_inspector.HasuraGraphQLInterceptor.onConnected
, requests_inspector.HasuraGraphQLInterceptor.onDisconnected
.
10/10 points: Package has an example
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
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:requests_inspector/requests_inspector.dart
that imports:package:requests_inspector/src/requests_inspector_widget.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.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on macOS
It does not contain macos/requests_inspector/Package.swift
.
This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.
See https://docs.flutter.dev/to/spm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 10 issues. Showing the first 2:
INFO: The file name 'hasura_graph_qL_interceptor.dart' isn't a lower_case_with_underscores identifier.
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/hasura_graph_qL_interceptor.dart
INFO: Statements in an if should be enclosed in a block.
lib/src/inspector_controller.dart:26:7
╷
26 │ _shakeDetector = ShakeDetector.autoStart(onPhoneShake: showInspector);
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/inspector_controller.dart
0/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.19.1 |
dio |
^5.0.0 |
5.7.0 | 5.7.0 |
flutter |
flutter |
0.0.0 | 0.0.0 |
hasura_connect |
^4.0.0+4 |
4.0.0+4 | 5.0.0+3 |
provider |
^6.0.5 |
6.1.2 | 6.1.2 |
shake |
^2.2.0 |
2.2.0 | 2.2.0 |
share_plus |
^6.3.1 |
6.3.4 | 10.1.2 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.12.0 | 2.12.0 |
characters |
- | 1.3.0 | 1.3.1 |
cross_file |
- | 0.3.4+2 | 0.3.4+2 |
crypto |
- | 3.0.6 | 3.0.6 |
dart_websocket |
- | 1.0.0 | 1.0.0 |
dio_web_adapter |
- | 2.0.0 | 2.0.0 |
either_dart |
- | 0.1.4 | 1.0.0 |
ffi |
- | 2.1.3 | 2.1.3 |
file |
- | 6.1.4 | 7.0.1 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
http |
- | 0.13.6 | 1.2.2 |
http_parser |
- | 4.0.2 | 4.1.1 |
logging |
- | 1.3.0 | 1.3.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 |
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 |
sensors_plus |
- | 1.4.1 | 6.1.0 |
sensors_plus_platform_interface |
- | 1.2.0 | 2.0.0 |
sensors_plus_web |
- | 1.1.2 | 1.1.2 |
share_plus_platform_interface |
- | 3.4.0 | 5.0.1 |
sky_engine |
- | 0.0.99 | 0.0.99 |
source_span |
- | 1.10.0 | 1.10.0 |
string_scanner |
- | 1.4.0 | 1.4.0 |
string_validator |
- | 0.3.0 | 1.1.0 |
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 |
- | 3.0.7 | 4.5.1 |
vector_math |
- | 2.1.4 | 2.1.4 |
web |
- | 1.1.0 | 1.1.0 |
win32 |
- | 3.1.4 | 5.8.0 |
xdg_directories |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^4.0.0+4` on hasura_connect does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions hasura_connect
to update the constraint.
The constraint `^6.3.1` on share_plus does not support the stable version `7.0.0`.
Try running dart pub upgrade --major-versions share_plus
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.15
, Flutter 3.24.4
, Dart 3.5.4
.
Check the analysis log for details.