alice_lightweight 3.8.0 copy "alice_lightweight: ^3.8.0" to clipboard
alice_lightweight: ^3.8.0 copied to clipboard

Lightweight Alice version. Removed additional dependencies except dio.

19
likes
120/ 160
pub points
91%
popularity

We analyzed this package 18 hours ago, and awarded it 120 pub points (of a possible 160):

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

0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: alice_lightweight,
    • contains a version property, and,
    • does not contain a publish_to property.

Repository has no matching pubspec.yaml with name: alice_lightweight.

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.

failed
Provide documentation
10 / 20trigger folding of the section

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

46 out of 207 API elements (22.2 %) have documentation comments.

Some symbols that are missing documentation: alice, alice.Alice, alice_alert_helper, alice_alert_helper.AliceAlertHelper, alice_alert_helper.AliceAlertHelper.AliceAlertHelper.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
20 / 20trigger folding of the section

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:alice_lightweight/alice.dart that imports:
  • package:alice_lightweight/core/alice_http_client_adapter.dart that imports:
  • package:alice_lightweight/core/alice_core.dart that imports:
  • package:alice_lightweight/ui/page/alice_calls_list_screen.dart that imports:
  • package:alice_lightweight/utils/alice_share_logs.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:alice_lightweight/alice.dart that imports:
  • package:alice_lightweight/core/alice_http_client_adapter.dart that imports:
  • package:alice_lightweight/core/alice_core.dart that imports:
  • package:alice_lightweight/ui/page/alice_calls_list_screen.dart that imports:
  • package:alice_lightweight/utils/alice_share_logs.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:alice_lightweight/alice.dart that imports:
  • package:alice_lightweight/core/alice_http_client_adapter.dart that imports:
  • package:alice_lightweight/core/alice_core.dart that imports:
  • package:alice_lightweight/ui/page/alice_calls_list_screen.dart that imports:
  • package:alice_lightweight/utils/alice_share_logs.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:alice_lightweight/alice.dart that imports:
  • package:alice_lightweight/core/alice_http_client_adapter.dart that imports:
  • package:alice_lightweight/core/alice_core.dart that imports:
  • package:alice_lightweight/ui/page/alice_calls_list_screen.dart that imports:
  • package:alice_lightweight/utils/alice_share_logs.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:alice_lightweight/alice.dart that imports:
  • package:alice_lightweight/core/alice_http_client_adapter.dart that imports:
  • package:alice_lightweight/core/alice_core.dart that imports:
  • package:alice_lightweight/ui/page/alice_calls_list_screen.dart that imports:
  • package:alice_lightweight/utils/alice_share_logs.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:alice_lightweight/alice.dart that imports:
  • package:alice_lightweight/core/alice_http_client_adapter.dart that imports:
  • package:alice_lightweight/core/alice_core.dart that imports:
  • package:alice_lightweight/ui/page/alice_calls_list_screen.dart that imports:
  • package:alice_lightweight/utils/alice_share_logs.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:alice_lightweight/alice.dart that imports:
  • package:alice_lightweight/model/alice_http_call.dart that imports:
  • package:alice_lightweight/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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 10 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:33:9

   ╷
33 │     if (path.length == 0) {
   │         ^^^^^^^^^^^^^^^^
   ╵

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

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest
dio ^5.4.3+1 5.7.0 5.7.0
flutter flutter 0.0.0 0.0.0
http ^1.2.1 1.2.2 1.2.2
path_provider ^2.1.3 2.1.5 2.1.5
rxdart ^0.28.0 0.28.0 0.28.0
share_plus ^9.0.0 9.0.0 10.1.2
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
characters - 1.3.0 1.3.1
collection - 1.18.0 1.19.1
cross_file - 0.3.4+2 0.3.4+2
crypto - 3.0.6 3.0.6
dio_web_adapter - 2.0.0 2.0.0
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flutter_web_plugins - 0.0.0 0.0.0
http_parser - 4.0.2 4.1.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
mime - 1.0.6 2.0.0
path - 1.9.1 1.9.1
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
share_plus_platform_interface - 4.0.0 5.0.1
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
string_scanner - 1.4.0 1.4.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 - 4.5.1 4.5.1
vector_math - 2.1.4 2.1.4
web - 0.5.1 1.1.0
win32 - 5.8.0 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 `^9.0.0` on share_plus does not support the stable version `10.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.5, Dart 3.5.4.

Check the analysis log for details.

19
likes
120
pub points
91%
popularity

Publisher

verified publisherdash-kit.blogspot.com

Lightweight Alice version. Removed additional dependencies except dio.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

dio, flutter, http, path_provider, rxdart, share_plus

More

Packages that depend on alice_lightweight