tazz_socket 1.0.4

Flutter Android iOS

A Flutter plugin for SocketIO on both iOS and Android with Options as parameters. Unlike other implementations this allows custom parameters to be passed through.

2
likes
90 / 110
pub points
45 %
popularity

We analyzed this package on Sep 19, 2020, and awarded it 90 pub points (of a possible 110):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/lib/main.dart

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

  • 6 out of 10 API elements (60.0 %) have documentation comments.
Support multiple platforms
10 / 20

10/20 points: Supports 2 of 3 possible platforms (iOS, Android, Web)

Consider supporting multiple platforms:

Package does not support Flutter platform Web

Because:

  • package:tazz_socket/tazz_socket.dart that declares support for platforms: Android, iOS

Consider supporting these prerelease platforms:

Package does not support Flutter platform Windows

Because:

  • package:tazz_socket/tazz_socket.dart that declares support for platforms: Android, iOS
Package does not support Flutter platform Linux

Because:

  • package:tazz_socket/tazz_socket.dart that declares support for platforms: Android, iOS
Package does not support Flutter platform macOS

Because:

  • package:tazz_socket/tazz_socket.dart that declares support for platforms: Android, iOS
Pass static analysis
20 / 30

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

INFO: This function has a return type of 'Future

lib/tazz_socket.dart:51:35

   ╷
51 │       _channel.setMethodCallHandler((call) {
   │ ┌───────────────────────────────────^
52 │ │       if (call.method == 'received') {
53 │ │         String received = "";
54 │ │         dynamic msg = call.arguments['message'];
55 │ │         if (msg is String) {
56 │ │           received = msg;
57 │ │         } else if (msg is Map) {
58 │ │           received = jsonEncode(msg);
59 │ │         }
60 │ │         Function.apply(_handle, [received]);
61 │ │       }
62 │ │     });
   │ └─────^
   ╵

To reproduce make sure you are using pedantic and run flutter analyze lib/tazz_socket.dart

INFO: This function has a return type of 'Future

lib/tazz_socket.dart:69:35

   ╷
69 │       _channel.setMethodCallHandler((call) {
   │ ┌───────────────────────────────────^
70 │ │       if (call.method == 'evntrcvd') {
71 │ │         final String received = call.arguments['message'];
72 │ │         Function.apply(_handle, [received]);
73 │ │       }
74 │ │     });
   │ └─────^
   ╵

To reproduce make sure you are using pedantic and run flutter analyze lib/tazz_socket.dart

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
flutterflutter0.0.00.0.0
Transitive dependencies
PackageConstraintCompatibleLatest
characters-1.0.01.0.0
collection-1.14.131.14.13
meta-1.1.81.2.3
sky_engine-0.0.990.0.99
typed_data-1.2.01.2.0
vector_math-2.0.82.0.8

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

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

2
likes
90
pub points
45%
popularity

A Flutter plugin for SocketIO on both iOS and Android with Options as parameters. Unlike other implementations this allows custom parameters to be passed through.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

tasnim@tazzix.com

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on tazz_socket