nesp_sdk_flutter_ui 0.0.1-dev.3 copy "nesp_sdk_flutter_ui: ^0.0.1-dev.3" to clipboard
nesp_sdk_flutter_ui: ^0.0.1-dev.3 copied to clipboard

The ui library of the NESP SDK for Flutter

0
likes
90/ 160
pub points
114
downloads

We analyzed this package 9 days ago, and awarded it 90 pub points (of a possible 160):

failed
Follow Dart file conventions
20 / 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

10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

failed
Provide documentation
0 / 20trigger folding of the section

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

40 out of 322 API elements (12.4 %) 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.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: nesp_sdk_flutter_ui, nesp_sdk_flutter_ui.AppAlertDialog.actions, nesp_sdk_flutter_ui.AppAlertDialog.child, nesp_sdk_flutter_ui.AppAlertDialog.constraints, nesp_sdk_flutter_ui.AppAlertDialog.contentPadding.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add 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:nesp_sdk_flutter_ui/nesp_sdk_flutter_ui.dart that imports:
  • package:nesp_sdk_flutter_ui/src/change_notifier_view_model_content.dart that imports:
  • package:nesp_sdk_flutter_ui/src/view_model.dart that imports:
  • package:connectivity/connectivity.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:nesp_sdk_flutter_ui/nesp_sdk_flutter_ui.dart that imports:
  • package:nesp_sdk_flutter_ui/src/change_notifier_view_model_content.dart that imports:
  • package:nesp_sdk_flutter_ui/src/view_model.dart that imports:
  • package:connectivity/connectivity.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `macOS`.

Because:

  • package:nesp_sdk_flutter_ui/nesp_sdk_flutter_ui.dart that imports:
  • package:nesp_sdk_flutter_ui/src/toast.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Web`.

Because:

  • package:nesp_sdk_flutter_ui/nesp_sdk_flutter_ui.dart that imports:
  • package:nesp_sdk_flutter_ui/src/webview_screen.dart that imports:
  • package:webview_flutter/webview_flutter.dart that declares support for platforms: Android, iOS, macOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:nesp_sdk_flutter_ui/nesp_sdk_flutter_ui.dart that imports:
  • package:nesp_sdk_flutter_ui/src/change_notifier_view_model_content.dart that imports:
  • package:nesp_sdk_flutter_ui/src/view_model.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 34 issues. Showing the first 2:

WARNING: Unused import: 'package:nesp_sdk_flutter_core/nesp_sdk_flutter_core.dart'.

lib/src/app.dart:3:8

  ╷
3 │ import 'package:nesp_sdk_flutter_core/nesp_sdk_flutter_core.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

INFO: 'PopInvokedCallback' is deprecated and shouldn't be used. Use PopWithResultInvokedCallback instead. This feature was deprecated after v3.22.0-12.0.pre.

lib/src/dialog.dart:29:3

   ╷
29 │   PopInvokedCallback? onPopInvoked,
   │   ^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/dialog.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
connectivity ^3.0.6 3.0.6 3.0.6
flutter flutter 0.0.0 0.0.0
flutter_keyboard_visibility ^6.0.0 6.0.0 6.0.0
flutter_localizations flutter 0.0.0 0.0.0
fluttertoast ^8.2.4 8.2.10 8.2.10
intl any 0.19.0 0.20.1
nesp_sdk_dart_core ^0.0.1-dev.2 0.0.1-dev.6 0.0.1-dev.6
nesp_sdk_dart_math ^0.0.1-dev.1 0.0.1-dev.1 0.0.1-dev.1
nesp_sdk_flutter_core ^0.0.1-dev.1 0.0.1-dev.3 0.0.1-dev.3
nesp_sdk_flutter_module ^0.0.1-dev.1 0.0.1-dev.3 0.0.1-dev.3
nesp_sdk_flutter_router ^0.0.1-dev.1 0.0.1-dev.3 0.0.1-dev.3
visibility_detector ^0.4.0+2 0.4.0+2 0.4.0+2
webview_flutter ^4.7.0 4.10.0 4.10.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
characters - 1.3.0 1.4.0
clock - 1.1.1 1.1.2
collection - 1.19.0 1.19.1
connectivity_for_web - 0.4.0+1 0.4.0+1
connectivity_macos - 0.2.1+2 0.2.1+2
connectivity_platform_interface - 2.0.1 2.0.1
flutter_keyboard_visibility_linux - 1.0.0 1.0.0
flutter_keyboard_visibility_macos - 1.0.0 1.0.0
flutter_keyboard_visibility_platform_interface - 2.0.0 2.0.0
flutter_keyboard_visibility_web - 2.0.0 2.0.0
flutter_keyboard_visibility_windows - 1.0.0 1.0.0
flutter_web_plugins - 0.0.0 0.0.0
get_it - 7.7.0 8.0.3
go_router - 13.2.5 14.6.2
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
nesp_sdk_dart_dtx - 0.0.1-dev.1 0.0.1-dev.1
nested - 1.0.0 1.0.0
path - 1.9.0 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
provider - 6.1.2 6.1.2
sky_engine - 0.0.0 0.0.0
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
webview_flutter_android - 4.2.0 4.2.0
webview_flutter_platform_interface - 2.10.0 2.10.0
webview_flutter_wkwebview - 3.16.3 3.16.3

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 6 errors:

  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/app.dart:102:37 - The argument type 'BuildContext' can't be assigned to the parameter type 'List
  • EXTRA_POSITIONAL_ARGUMENTS - lib/src/app.dart:102:46 - Too many positional arguments: 1 expected, but 2 found.
  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/app.dart:111:37 - The argument type 'BuildContext' can't be assigned to the parameter type 'List

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.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.