flutter_alice 2.1.0-beta.1
flutter_alice: ^2.1.0-beta.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 15 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
58 out of 276 API elements (21.0 %) have documentation comments.
Some symbols that are missing documentation: alice, alice.Alice, alice.Alice.clearLogs, alice.Alice.log, alice_about.
10/10 points: Package has an example and has no issues with screenshots
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.dartthat imports:package:flutter_alice/core/alice_inspector.dartthat imports:package:flutter_alice/core/alice_core.dartthat imports:package:flutter_alice/ui/page/alice_calls_list_screen.dartthat imports:package:flutter_alice/ui/page/alice_call_details_screen.dartthat imports:package:share_plus/share_plus.dartthat imports:package:share_plus/src/share_plus_web.dartthat imports:package:share_plus_platform_interface/share_plus_platform_interface.dartthat imports:package:share_plus_platform_interface/platform_interface/share_plus_platform.dartthat imports:package:share_plus_platform_interface/method_channel/method_channel_share.dartthat imports:package:path_provider/path_provider.dartthat 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.dartthat imports:package:flutter_alice/core/alice_inspector.dartthat imports:package:flutter_alice/core/alice_core.dartthat imports:package:flutter_alice/ui/page/alice_calls_list_screen.dartthat imports:package:flutter_alice/ui/page/alice_call_details_screen.dartthat imports:package:share_plus/share_plus.dartthat imports:package:share_plus/src/share_plus_windows.dartthat imports:package:url_launcher_windows/url_launcher_windows.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:flutter_alice/alice.dartthat imports:package:flutter_alice/core/alice_inspector.dartthat imports:package:flutter_alice/core/alice_core.dartthat imports:package:flutter_alice/ui/page/alice_calls_list_screen.dartthat imports:package:flutter_alice/ui/page/alice_call_details_screen.dartthat imports:package:share_plus/share_plus.dartthat imports:package:share_plus/src/share_plus_windows.dartthat imports:package:url_launcher_windows/url_launcher_windows.dartthat declares support for platforms:Windows.
Package does not support platform `Windows`.
Because:
package:flutter_alice/alice.dartthat imports:package:flutter_alice/core/alice_inspector.dartthat imports:package:flutter_alice/core/alice_core.dartthat imports:package:flutter_alice/ui/page/alice_calls_list_screen.dartthat imports:package:flutter_alice/ui/page/alice_call_details_screen.dartthat imports:package:share_plus/share_plus.dartthat imports:package:share_plus/src/share_plus_linux.dartthat imports:package:url_launcher_linux/url_launcher_linux.dartthat declares support for platforms:Linux.
Package does not support platform `Linux`.
Because:
package:flutter_alice/alice.dartthat imports:package:flutter_alice/core/alice_inspector.dartthat imports:package:flutter_alice/core/alice_core.dartthat imports:package:flutter_alice/ui/page/alice_calls_list_screen.dartthat imports:package:flutter_alice/ui/page/alice_call_details_screen.dartthat imports:package:share_plus/share_plus.dartthat imports:package:share_plus/src/share_plus_windows.dartthat imports:package:url_launcher_windows/url_launcher_windows.dartthat declares support for platforms:Windows.
Package does not support platform `macOS`.
Because:
package:flutter_alice/alice.dartthat imports:package:flutter_alice/core/alice_inspector.dartthat imports:package:flutter_alice/core/alice_core.dartthat imports:package:flutter_alice/ui/page/alice_calls_list_screen.dartthat imports:package:flutter_alice/ui/page/alice_call_details_screen.dartthat imports:package:share_plus/share_plus.dartthat imports:package:share_plus/src/share_plus_windows.dartthat imports:package:url_launcher_windows/url_launcher_windows.dartthat declares support for platforms:Windows.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 14 issues. Showing the first 2:
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
INFO: Use 'isEmpty' instead of 'length' to test whether the collection is empty.
lib/core/alice_http_adapter.dart:29:9
╷
29 │ if (path.length == 0) {
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/core/alice_http_adapter.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
cupertino_icons |
>=1.0.0 |
1.0.8 | 1.0.8 | |
dio |
>=5.1.1 |
5.9.0 | 5.9.0 | |
http |
>=1.1.0 <2.0.0 |
1.6.0 | 1.6.0 | |
rxdart |
>=0.27.1 |
0.28.0 | 0.28.0 | |
share_plus |
>=11.0.0 |
12.0.1 | 12.0.1 |
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.5+1 | 0.3.5+1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
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.17.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.22 | 2.2.22 | |
path_provider_foundation |
- | 2.5.1 | 2.5.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.1.0 | 6.1.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
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.2 | 3.2.2 | |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 | |
url_launcher_web |
- | 2.4.1 | 2.4.1 | |
url_launcher_windows |
- | 3.1.5 | 3.1.5 | |
uuid |
- | 4.5.2 | 4.5.2 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 5.15.0 | 5.15.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.23.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.
