flutter_alice 2.0.1
flutter_alice: ^2.0.1 copied to clipboard
Alice is an HTTP Inspector tool which helps debugging http requests. It catches and stores http requests and responses, which can be viewed via simple UI.
We analyzed this package 2 days ago, and awarded it 130 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: Apache-2.0
.
10/10 points: 20% or more of the public API has dartdoc comments
57 out of 221 API elements (25.8 %) have documentation comments.
Some symbols that are missing documentation: action_button_builder
, alice
, alice.Alice
, alice_alert_helper
, alice_alert_helper.AliceAlertHelper
.
10/10 points: Package has an example
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:flutter_alice/alice.dart
that imports:package:flutter_alice/core/alice_http_client_adapter.dart
that imports:package:flutter_alice/core/alice_core.dart
that imports:package:flutter_alice/ui/page/alice_calls_list_screen.dart
that imports:package:flutter_alice/ui/page/alice_call_details_screen.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:flutter_alice/alice.dart
that imports:package:flutter_alice/core/alice_http_client_adapter.dart
that imports:package:flutter_alice/core/alice_core.dart
that imports:package:flutter_alice/ui/page/alice_calls_list_screen.dart
that imports:package:flutter_alice/ui/page/alice_call_details_screen.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:flutter_alice/alice.dart
that imports:package:flutter_alice/core/alice_http_client_adapter.dart
that imports:package:flutter_alice/core/alice_core.dart
that imports:package:flutter_alice/ui/page/alice_calls_list_screen.dart
that imports:package:flutter_alice/ui/page/alice_call_details_screen.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:flutter_alice/alice.dart
that imports:package:flutter_alice/core/alice_http_client_adapter.dart
that imports:package:flutter_alice/core/alice_core.dart
that imports:package:flutter_alice/ui/page/alice_calls_list_screen.dart
that imports:package:flutter_alice/ui/page/alice_call_details_screen.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:flutter_alice/alice.dart
that imports:package:flutter_alice/core/alice_http_client_adapter.dart
that imports:package:flutter_alice/core/alice_core.dart
that imports:package:flutter_alice/ui/page/alice_calls_list_screen.dart
that imports:package:flutter_alice/ui/page/alice_call_details_screen.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:flutter_alice/alice.dart
that imports:package:flutter_alice/core/alice_http_client_adapter.dart
that imports:package:flutter_alice/core/alice_core.dart
that imports:package:flutter_alice/ui/page/alice_calls_list_screen.dart
that imports:package:flutter_alice/ui/page/alice_call_details_screen.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:flutter_alice/alice.dart
that imports:package:flutter_alice/model/alice_http_call.dart
that imports:package:flutter_alice/model/alice_http_request.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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 12 issues. Showing the first 2:
INFO: Use 'isNotEmpty' instead of 'length' to test whether the collection is empty.
lib/core/alice_core.dart:83:9
╷
83 │ if (callsSubject.value.length > 0) {
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/core/alice_core.dart
INFO: Use 'isEmpty' instead of 'length' to test whether the collection is empty.
lib/core/alice_dio_interceptor.dart:30:9
╷
30 │ if (path.length == 0) {
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/core/alice_dio_interceptor.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
dio |
>=5.1.1 |
5.8.0+1 | 5.8.0+1 | |
http |
>=1.1.0 |
1.4.0 | 1.4.0 | |
overlay_support |
>=2.1.0 |
2.1.0 | 2.1.0 | |
rxdart |
>=0.27.1 |
0.28.0 | 0.28.0 | |
share_plus |
>=9.0.0 |
11.0.0 | 11.0.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 | |
cross_file |
- | 0.3.4+2 | 0.3.4+2 | |
crypto |
- | 3.0.6 | 3.0.6 | |
dio_web_adapter |
- | 2.1.1 | 2.1.1 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
mime |
- | 2.0.0 | 2.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider |
- | 2.1.5 | 2.1.5 | |
path_provider_android |
- | 2.2.17 | 2.2.17 | |
path_provider_foundation |
- | 2.4.1 | 2.4.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 | |
share_plus_platform_interface |
- | 6.0.0 | 6.0.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sprintf |
- | 7.0.0 | 7.0.0 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
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.4.1 | 2.4.1 | |
url_launcher_windows |
- | 3.1.4 | 3.1.4 | |
uuid |
- | 4.5.1 | 4.5.1 | |
vector_math |
- | 2.1.4 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 5.14.0 | 5.14.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 |
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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 1 error:
UNDEFINED_CLASS
-lib/core/alice_dio_interceptor.dart:117: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.21
, Flutter 3.32.4
, Dart 3.8.1
.
Check the analysis log for details.