spea_mobile_socket_conn 1.0.21
spea_mobile_socket_conn: ^1.0.21 copied to clipboard
Package to easly connect to spea equipment.
We analyzed this package 2 days ago, and awarded it 40 pub points (of a possible 130):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description
field of pubspec.yaml
. Use 60 to 180 characters to describe the package, what it does, and its target use case.
Homepage URL doesn't exist.
At the time of the analysis https://spea.com
was unreachable.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
0/10 points: 20% or more of the public API has dartdoc comments
- 1 out of 12 API elements (8.3 %) 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.
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, MacOS, Linux)
- ✓ Android
- ✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:spea_mobile_socket_conn/spea_mobile_socket_conn.dart
that imports:package:fluttertoast/fluttertoast.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:spea_mobile_socket_conn/spea_mobile_socket_conn.dart
that imports:package:fluttertoast/fluttertoast.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:spea_mobile_socket_conn/spea_mobile_socket_conn.dart
that imports:package:fluttertoast/fluttertoast.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:spea_mobile_socket_conn/spea_mobile_socket_conn.dart
that imports:package:fluttertoast/fluttertoast.dart
that declares support for platforms:Android
,iOS
.
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:spea_mobile_socket_conn/spea_mobile_socket_conn.dart
that imports:package:shared_preferences/shared_preferences.dart
that imports:package:shared_preferences_windows/shared_preferences_windows.dart
that declares support for platforms:Windows
.
Package does not support platform `iOS`.
Because:
package:spea_mobile_socket_conn/spea_mobile_socket_conn.dart
that imports:package:shared_preferences/shared_preferences.dart
that imports:package:shared_preferences_windows/shared_preferences_windows.dart
that declares support for platforms:Windows
.
0/30 points: code has no errors, warnings, lints, or formatting issues
Found 18 issues. Showing the first 2:
ERROR: A value of type 'WifiConnectionStatus' can't be assigned to a variable of type 'String'.
lib/spea_mobile_socket_conn.dart:387:23
╷
387 │ connectionState = await WifiConfiguration.connectToWifi(ssid, pwd, widget.appId);
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/spea_mobile_socket_conn.dart
INFO: The import of 'package:flutter/cupertino.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/material.dart'.
lib/spea_mobile_socket_conn.dart:5:8
╷
5 │ import 'package:flutter/cupertino.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/spea_mobile_socket_conn.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
connectivity | ^0.4.3+5 | 0.4.9+5 | 3.0.6 |
flutter | flutter | 0.0.0 | 0.0.0 |
fluttertoast | ^3.1.3 | 3.1.3 | 8.0.9 |
shared_preferences | ^0.5.3+1 | 0.5.12+4 | 2.0.15 |
spea_mobile_qrcode | ^0.0.3 | 0.0.3 | 0.0.3 |
wifi | ^0.1.5 | 0.1.5 | 0.1.5 |
wifi_configuration | ^1.0.3 | 1.2.1 | 1.2.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters | - | 1.2.0 | 1.2.1 |
collection | - | 1.16.0 | 1.16.0 |
connectivity_for_web | - | 0.3.1+4 | 0.4.0+1 |
connectivity_macos | - | 0.1.0+7 | 0.2.1+2 |
connectivity_platform_interface | - | 1.0.6 | 2.0.1 |
ffi | - | 1.2.1 | 1.2.1 |
file | - | 6.1.2 | 6.1.2 |
flutter_web_plugins | - | 0.0.0 | 0.0.0 |
js | - | 0.6.4 | 0.6.4 |
material_color_utilities | - | 0.1.4 | 0.1.5 |
meta | - | 1.7.0 | 1.8.0 |
path | - | 1.8.2 | 1.8.2 |
path_provider_linux | - | 0.0.1+2 | 2.1.6 |
path_provider_platform_interface | - | 1.0.4 | 2.0.4 |
path_provider_windows | - | 0.0.5 | 2.0.6 |
platform | - | 3.1.0 | 3.1.0 |
plugin_platform_interface | - | 1.0.3 | 2.1.2 |
process | - | 4.2.4 | 4.2.4 |
qr_code_scanner | - | 0.0.14 | 0.7.0 |
shared_preferences_linux | - | 0.0.2+4 | 2.1.1 |
shared_preferences_macos | - | 0.0.1+11 | 2.0.4 |
shared_preferences_platform_interface | - | 1.0.4 | 2.0.0 |
shared_preferences_web | - | 0.1.2+7 | 2.0.4 |
shared_preferences_windows | - | 0.0.2+3 | 2.1.1 |
sky_engine | - | 0.0.99 | 0.0.99 |
vector_math | - | 2.1.2 | 2.1.2 |
win32 | - | 2.6.1 | 2.6.1 |
xdg_directories | - | 0.1.2 | 0.2.0+1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 3 issues. Showing the first 2:
The constraint `^0.4.3+5` on connectivity does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions connectivity
to update the constraint.
The constraint `^3.1.3` on fluttertoast does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions fluttertoast
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Package does not opt in to null safety.
Package language version (indicated by the sdk constraint `>=2.1.0 <3.0.0`) is less than 2.12.
Consider migrating.
Analysed with Pana 0.21.12
, Flutter 3.0.0
, Dart 2.17.0
.