openiothub_common_pages 1.0.5+54 copy "openiothub_common_pages: ^1.0.5+54" to clipboard
openiothub_common_pages: ^1.0.5+54 copied to clipboard

openiothub_common_pages

0
likes
100/ 160
pub points
56%
popularity

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

failed
Follow Dart file conventions
10 / 30trigger 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.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

OK
Provide documentation
20 / 20trigger folding of the section

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

36 out of 124 API elements (29.0 %) have documentation comments.

Some symbols that are missing documentation: GatewayQrPage, GatewayQrPage.GatewayQrPage, GatewayQrPage.GatewayQrPage.GatewayQrPage, LoginPage, LoginPage.LoginPage.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger 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:openiothub_common_pages/openiothub_common_pages.dart that imports:
  • package:openiothub_common_pages/wifiConfig/smartlink.dart that imports:
  • package:wifi_info_flutter/wifi_info_flutter.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:openiothub_common_pages/openiothub_common_pages.dart that imports:
  • package:openiothub_common_pages/wifiConfig/smartlink.dart that imports:
  • package:wifi_info_flutter/wifi_info_flutter.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:openiothub_common_pages/openiothub_common_pages.dart that imports:
  • package:openiothub_common_pages/wifiConfig/smartlink.dart that imports:
  • package:wifi_info_flutter/wifi_info_flutter.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:openiothub_common_pages/openiothub_common_pages.dart that imports:
  • package:openiothub_common_pages/wifiConfig/smartlink.dart that imports:
  • package:wifi_info_flutter/wifi_info_flutter.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:openiothub_common_pages/openiothub_common_pages.dart that imports:
  • package:openiothub_common_pages/wifiConfig/smartlink.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `iOS`.

Because:

  • package:openiothub_common_pages/openiothub_common_pages.dart that imports:
  • package:openiothub_common_pages/wifiConfig/smartlink.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:openiothub_common_pages/openiothub_common_pages.dart that imports:
  • package:openiothub_common_pages/wifiConfig/smartConfigTool.dart that imports:
  • package:airkiss_dart/airkiss_dart.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.

failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 73 issues. Showing the first 2:

WARNING: The value of the field '_loginResp' isn't used.

lib/commPages/appInfo.dart:37:21

   ╷
37 │   TencentLoginResp? _loginResp;
   │                     ^^^^^^^^^^
   ╵

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

WARNING: The exception variable 'e' isn't used, so the 'catch' clause can be removed.

lib/user/LoginPage.dart:217:35

    ╷
217 │             } on Exception catch (e) {
    │                                   ^
    ╵

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

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

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

Package Constraint Compatible Latest
airkiss_dart ^1.0.0 1.0.0+5 1.0.0+5
connectivity_plus ^6.0.4 6.0.5 6.0.5
dio ^5.5.0+1 5.7.0 5.7.0
flutter flutter 0.0.0 0.0.0
flutter_easylink ^0.0.1 0.0.6+3 0.0.6+3
flutter_localizations flutter 0.0.0 0.0.0
flutter_nsd ^1.4.0 1.5.0 1.5.0
flutter_oneshot ^0.0.1 0.0.4+1 0.0.4+1
flutter_smartlink ^0.0.1 0.0.5 0.0.5
image ^4.0.9 4.2.0 4.2.0
intl any 0.19.0 0.19.0
oktoast ^3.3.2+1 3.4.0 3.4.0
openiothub_api ^1.0.2+1 1.0.5+5 1.0.5+5
openiothub_constants ^1.0.0 1.0.2+3 1.0.2+3
openiothub_grpc_api ^1.0.2+1 1.1.8+1 1.1.8+1
openiothub_plugin ^1.0.0+8 1.0.2+11 1.0.2+11
package_info_plus ^8.0.0 8.0.2 8.0.2
permission_handler ^11.3.1 11.3.1 11.3.1
qr_flutter ^4.1.0 4.1.0 4.1.0
shared_preferences ^2.1.1 2.3.2 2.3.2
tdesign_flutter ^0.1.6 0.1.6 0.1.6
tencent_kit ^6.0.1 6.0.1 6.0.1
url_launcher ^6.1.11 6.3.0 6.3.0
webview_flutter ^4.8.0 4.9.0 4.9.0
wechat_kit ^6.0.1 6.0.1 6.0.1
wifi_info_flutter ^2.0.2 2.0.2 2.0.2
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.6.1 3.6.1
args - 2.5.0 2.5.0
asn1lib - 1.5.5 1.5.6
async - 2.11.0 2.11.0
boolean_selector - 2.1.1 2.1.1
characters - 1.3.0 1.3.0
charcode - 1.3.1 1.3.1
clock - 1.1.1 1.1.1
collection - 1.18.0 1.19.0
connectivity_plus_platform_interface - 2.0.1 2.0.1
convert - 3.1.1 3.1.1
cross_file - 0.3.4+2 0.3.4+2
crypto - 3.0.5 3.0.5
csslib - 1.0.0 1.0.0
dartssh2_plus - 3.0.0 3.0.0
dbus - 0.7.10 0.7.10
dio_web_adapter - 2.0.0 2.0.0
equatable - 2.0.5 2.0.5
event_bus - 2.0.1 2.0.1
ffi - 2.1.3 2.1.3
file - 7.0.0 7.0.0
file_picker - 8.1.2 8.1.2
filesystem_picker - 4.1.0 4.1.0
fixnum - 1.1.0 1.1.0
flutter_colorpicker - 1.1.0 1.1.0
flutter_easyrefresh - 2.2.2 2.2.2
flutter_plugin_android_lifecycle - 2.0.22 2.0.22
flutter_seekbar - 1.0.1 1.0.1
flutter_slidable - 3.1.0 3.1.1
flutter_swiper_null_safety - 1.0.2 1.0.2
flutter_vlc_player - 7.4.2 7.4.2
flutter_vlc_player_platform_interface - 2.0.3 2.0.3
flutter_web_plugins - 0.0.0 0.0.0
google_identity_services_web - 0.3.1+4 0.3.1+4
googleapis_auth - 1.6.0 1.6.0
grpc - 4.0.1 4.0.1
html - 0.15.4 0.15.4
http - 1.2.2 1.2.2
http2 - 2.3.0 2.3.0
http_parser - 4.0.2 4.1.0
js - 0.7.1 0.7.1
json_annotation - 4.9.0 4.9.0
matcher - 0.12.16+1 0.12.16+1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
mqtt5_client - 4.5.3 4.5.3
nm - 0.5.0 0.5.0
package_info_plus_platform_interface - 3.0.1 3.0.1
path - 1.9.0 1.9.0
path_provider - 2.1.4 2.1.4
path_provider_android - 2.2.10 2.2.10
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
permission_handler_android - 12.0.12 12.0.12
permission_handler_apple - 9.4.5 9.4.5
permission_handler_html - 0.1.3+2 0.1.3+2
permission_handler_platform_interface - 4.2.3 4.2.3
permission_handler_windows - 0.2.1 0.2.1
petitparser - 6.0.2 6.0.2
pinenacl - 0.6.0 0.6.0
platform - 3.1.5 3.1.5
plugin_platform_interface - 2.1.8 2.1.8
pointycastle - 3.9.1 3.9.1
protobuf - 3.1.0 3.1.0
qr - 3.0.2 3.0.2
quiver - 3.2.2 3.2.2
shared_preferences_android - 2.3.2 2.3.2
shared_preferences_foundation - 2.5.2 2.5.2
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.2 2.4.2
shared_preferences_windows - 2.4.1 2.4.1
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
stack_trace - 1.12.0 1.12.0
stream_channel - 2.1.2 2.1.2
string_scanner - 1.3.0 1.3.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.3 0.7.3
typed_data - 1.3.2 1.3.2
universal_html - 2.2.4 2.2.4
universal_io - 2.2.2 2.2.2
url_launcher_android - 6.3.10 6.3.10
url_launcher_ios - 6.3.1 6.3.1
url_launcher_linux - 3.2.0 3.2.0
url_launcher_macos - 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.2 3.1.2
uuid - 4.5.1 4.5.1
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
webview_flutter_android - 3.16.7 3.16.7
webview_flutter_platform_interface - 2.10.0 2.10.0
webview_flutter_wkwebview - 3.15.0 3.15.0
wifi_info_flutter_platform_interface - 2.0.1 2.0.1
win32 - 5.5.4 5.5.4
xdg_directories - 1.0.4 1.0.4
xml - 6.5.0 6.5.0
xterm - 4.0.0 4.0.0
zmodem - 0.0.6 0.0.6

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

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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 19 errors:

  • UNDEFINED_GETTER - lib/commPages/settings.dart:29:42 - The getter 'iotManagerGrpcIp' isn't defined for the type 'Config'.
  • UNDEFINED_SETTER - lib/commPages/settings.dart:58:18 - The setter 'iotManagerGrpcIp' isn't defined for the type 'Config'.
  • URI_HAS_NOT_BEEN_GENERATED - lib/gateway/GatewayQrPage.dart:8:8 - Target of URI hasn't been generated: 'package:openiothub_grpc_api/proto/manager/publicApi.pb.dart'.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.12, Flutter 3.24.3, Dart 3.5.3.

Check the analysis log for details.