dart_blocks 0.5.13 copy "dart_blocks: ^0.5.13" to clipboard
dart_blocks: ^0.5.13 copied to clipboard

An SDK written in Dart to communicate with Nuntio Blocks and Cloud

0
likes
70/ 140
pub points
0%
popularity

We analyzed this package 44 hours ago, and awarded it 70 pub points (of a possible 140):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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.

failed
Provide documentation
0 / 20trigger folding of the section

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

21 out of 339 API elements (6.2 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

Some symbols that are missing documentation: auth, auth.AuthEnum, auth.AuthEnum.AuthEnum, auth.AuthState, auth.AuthState.AuthState.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
0 / 20trigger folding of the section

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

These platforms are not supported:

Package not compatible with platform Android

Because:

  • package:dart_blocks/dart_blocks/channel/user_channel_web.dart that imports:
  • package:grpc/grpc_web.dart that imports:
  • package:grpc/src/client/web_channel.dart that imports:
  • package:grpc/src/client/transport/xhr_transport.dart that imports:
  • dart:html
Package not compatible with platform iOS

Because:

  • package:dart_blocks/dart_blocks/channel/user_channel_web.dart that imports:
  • package:grpc/grpc_web.dart that imports:
  • package:grpc/src/client/web_channel.dart that imports:
  • package:grpc/src/client/transport/xhr_transport.dart that imports:
  • dart:html
Package not compatible with platform Windows

Because:

  • package:dart_blocks/dart_blocks/channel/user_channel_web.dart that imports:
  • package:grpc/grpc_web.dart that imports:
  • package:grpc/src/client/web_channel.dart that imports:
  • package:grpc/src/client/transport/xhr_transport.dart that imports:
  • dart:html
Package not compatible with platform Linux

Because:

  • package:dart_blocks/dart_blocks/channel/user_channel_web.dart that imports:
  • package:grpc/grpc_web.dart that imports:
  • package:grpc/src/client/web_channel.dart that imports:
  • package:grpc/src/client/transport/xhr_transport.dart that imports:
  • dart:html
Package not compatible with platform macOS

Because:

  • package:dart_blocks/dart_blocks/channel/user_channel_web.dart that imports:
  • package:grpc/grpc_web.dart that imports:
  • package:grpc/src/client/web_channel.dart that imports:
  • package:grpc/src/client/transport/xhr_transport.dart that imports:
  • dart:html
Package not compatible with platform Web

Because:

  • package:dart_blocks/dart_blocks/channel/user_channel.dart that imports:
  • package:dart_blocks/nuntio_credentials/nuntio_credentials.dart that imports:
  • package:grpc/grpc.dart that imports:
  • package:grpc/src/shared/streams.dart that imports:
  • package:http2/transport.dart that imports:
  • dart:io
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 39 issues. Showing the first 2:

WARNING: Unused import: 'package:dart_blocks/dart_blocks/components/text_field_decoration.dart'.

lib/dart_blocks/hera_app/AuthPage/LoginPage/login_page.dart:4:8

  ╷
4 │ import 'package:dart_blocks/dart_blocks/components/text_field_decoration.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/dart_blocks/hera_app/AuthPage/LoginPage/login_page.dart

WARNING: This 'onError' handler must return a value assignable to 'LoginSession', but ends without returning a value.

lib/dart_blocks/hera_app/AuthPage/LoginPage/login_page.dart:135:27

    ╷
135 │         .catchError((err) {
    │                           ^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/dart_blocks/hera_app/AuthPage/LoginPage/login_page.dart

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

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

Package Constraint Compatible Latest
animate_do ^2.1.0 2.1.0 3.3.4
cached_network_image ^3.2.0 3.3.1 3.3.1
connectivity_plus ^2.3.0 2.3.9 6.0.3
dart_jsonwebtoken ^2.4.1 2.14.0 2.14.0
device_info_plus ^3.2.3 3.2.4 10.1.0
fixnum ^1.0.0 1.1.0 1.1.0
flutter flutter 0.0.0 0.0.0
flutter_secure_storage ^5.0.2 5.1.2 9.0.0
flutter_svg ^1.1.0 1.1.6 2.0.10+1
font_awesome_flutter ^10.1.0 10.7.0 10.7.0
geocoding ^2.0.4 2.2.2 3.0.0
geolocator ^8.2.0 8.2.1 11.0.0
grpc ^3.0.2 3.2.4 3.2.4
jwt_decoder ^2.0.1 2.0.1 2.0.1
nuntio_blocks ^0.0.21 0.0.21 0.0.21
nuntio_cloud ^0.0.2 0.0.2 0.0.2
pinput ^2.2.8 2.3.0 4.0.0
protobuf ^2.0.1 2.1.0 3.1.0
shared_preferences ^2.0.13 2.2.3 2.2.3
uuid ^3.0.6 3.0.7 4.4.0
Transitive dependencies
Package Constraint Compatible Latest
adaptive_number - 1.0.0 1.0.0
archive - 3.5.0 3.5.0
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
cached_network_image_platform_interface - 4.0.0 4.0.0
cached_network_image_web - 1.2.0 1.2.0
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
connectivity_plus_linux - 1.3.1 1.3.1
connectivity_plus_macos - 1.2.6 1.2.6
connectivity_plus_platform_interface - 1.2.4 2.0.0
connectivity_plus_web - 1.2.5 1.2.5
connectivity_plus_windows - 1.2.2 1.2.2
convert - 3.1.1 3.1.1
crypto - 3.0.3 3.0.3
dbus - 0.7.4 0.7.10
device_info_plus_linux - 2.1.1 5.0.0
device_info_plus_macos - 2.2.3 5.0.0
device_info_plus_platform_interface - 2.6.1 7.0.0
device_info_plus_web - 2.1.0 5.0.0
device_info_plus_windows - 2.1.1 6.0.0
ed25519_edwards - 0.3.1 0.3.1
ffi - 1.2.1 2.1.2
file - 6.1.4 7.0.0
flutter_cache_manager - 3.3.1 3.3.2
flutter_secure_storage_linux - 1.2.0 1.2.0
flutter_secure_storage_macos - 1.1.2 3.0.1
flutter_secure_storage_platform_interface - 1.0.2 1.0.2
flutter_secure_storage_web - 1.1.2 1.1.2
flutter_secure_storage_windows - 1.1.3 3.0.0
flutter_web_plugins - 0.0.0 0.0.0
geocoding_android - 3.3.0 3.3.0
geocoding_ios - 2.3.0 3.0.1
geocoding_platform_interface - 3.2.0 3.2.0
geolocator_android - 3.2.1 4.5.4
geolocator_apple - 2.3.7 2.3.7
geolocator_platform_interface - 4.2.2 4.2.2
geolocator_web - 2.2.1 3.0.0
geolocator_windows - 0.1.3 0.2.3
google_identity_services_web - 0.3.1+1 0.3.1+1
googleapis_auth - 1.6.0 1.6.0
http - 1.2.1 1.2.1
http2 - 2.3.0 2.3.0
http_parser - 4.0.2 4.0.2
js - 0.6.7 0.7.1
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
nm - 0.5.0 0.5.0
octo_image - 2.0.0 2.0.0
path - 1.9.0 1.9.0
path_drawing - 1.0.1 1.0.1
path_parsing - 1.0.1 1.0.1
path_provider - 2.0.15 2.1.3
path_provider_android - 2.2.4 2.2.4
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.0.7 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
pointycastle - 3.9.0 3.9.0
rxdart - 0.27.7 0.27.7
shared_preferences_android - 2.2.2 2.2.2
shared_preferences_foundation - 2.3.5 2.3.5
shared_preferences_linux - 2.3.2 2.3.2
shared_preferences_platform_interface - 2.3.2 2.3.2
shared_preferences_web - 2.3.0 2.3.0
shared_preferences_windows - 2.3.2 2.3.2
sky_engine - 0.0.99 0.0.99
smart_auth - 1.1.1 2.0.0
source_span - 1.10.0 1.10.0
sqflite - 2.3.3 2.3.3
sqflite_common - 2.5.4 2.5.4
string_scanner - 1.2.0 1.2.0
synchronized - 3.1.0+1 3.1.0+1
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
universal_platform - 1.0.0+1 1.0.0+1
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1
win32 - 2.6.1 5.5.0
xdg_directories - 1.0.4 1.0.4
xml - 6.5.0 6.5.0

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

Found 10 issues. Showing the first 2:

The constraint `^2.1.0` on animate_do does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions animate_do to update the constraint.

The constraint `^2.3.0` on connectivity_plus does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions connectivity_plus to update the constraint.

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

Analyzed with Pana 0.22.3, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.