spea_mobile_socket_conn 1.0.21 icon indicating copy to clipboard operation
spea_mobile_socket_conn: ^1.0.21 copied to clipboard

Package to easly connect to spea equipment.

0
likes
40/ 130
pub points
0%
popularity

We analyzed this package 2 days ago, and awarded it 40 pub points (of a possible 130):

icon indicating section status
Follow Dart file conventions
10 / 20icon to trigger folding of the section

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

icon indicating section status
Provide documentation
0 / 20icon to trigger folding of the section

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.

icon indicating section status
Platform support
20 / 20icon to trigger folding of the section

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.
icon indicating section status
Pass static analysis
0 / 30icon to trigger folding of the section

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

icon indicating section status
Support up-to-date dependencies
10 / 20icon to trigger folding of the section

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

PackageConstraintCompatibleLatest
connectivity^0.4.3+50.4.9+53.0.6
flutterflutter0.0.00.0.0
fluttertoast^3.1.33.1.38.0.9
shared_preferences^0.5.3+10.5.12+42.0.15
spea_mobile_qrcode^0.0.30.0.30.0.3
wifi^0.1.50.1.50.1.5
wifi_configuration^1.0.31.2.11.2.1
Transitive dependencies
PackageConstraintCompatibleLatest
characters-1.2.01.2.1
collection-1.16.01.16.0
connectivity_for_web-0.3.1+40.4.0+1
connectivity_macos-0.1.0+70.2.1+2
connectivity_platform_interface-1.0.62.0.1
ffi-1.2.11.2.1
file-6.1.26.1.2
flutter_web_plugins-0.0.00.0.0
js-0.6.40.6.4
material_color_utilities-0.1.40.1.5
meta-1.7.01.8.0
path-1.8.21.8.2
path_provider_linux-0.0.1+22.1.6
path_provider_platform_interface-1.0.42.0.4
path_provider_windows-0.0.52.0.6
platform-3.1.03.1.0
plugin_platform_interface-1.0.32.1.2
process-4.2.44.2.4
qr_code_scanner-0.0.140.7.0
shared_preferences_linux-0.0.2+42.1.1
shared_preferences_macos-0.0.1+112.0.4
shared_preferences_platform_interface-1.0.42.0.0
shared_preferences_web-0.1.2+72.0.4
shared_preferences_windows-0.0.2+32.1.1
sky_engine-0.0.990.0.99
vector_math-2.1.22.1.2
win32-2.6.12.6.1
xdg_directories-0.1.20.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

icon indicating section status
Support sound null safety
0 / 20icon to trigger folding of the section

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.

0
likes
40
pub points
0%
popularity

Publisher

unverified uploader

Package to easly connect to spea equipment.

Homepage (missing)

Documentation

API reference

License

unknown (LICENSE)

Dependencies

connectivity, flutter, fluttertoast, shared_preferences, spea_mobile_qrcode, wifi, wifi_configuration

More

Packages that depend on spea_mobile_socket_conn