Skip to main content

account_kit_ohos 0.0.1 copy "account_kit_ohos: ^0.0.1" to clipboard
account_kit_ohos: ^0.0.1 copied to clipboard

[pending analysis]

A Flutter plugin for HarmonyOS to integrate Huawei Account Quick Login.

55/ 160
pub points
98
downloads

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

Failed report section
Follow Dart file conventions
25 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` contains too many non-ASCII characters.

The site uses English as its primary language. The content of CHANGELOG.md in your package should primarily contain characters used in English.

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

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

5 out of 33 API elements (15.2 %) 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: account_kit_ohos, account_kit_ohos.AccountKitButton, account_kit_ohos.AccountKitButton.AccountKitButton.new, account_kit_ohos.AccountKitButton.onViewCreated, account_kit_ohos.AccountKitButtonController.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
0 / 20trigger folding of the section

Failed check 0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 3 issues. Showing the first 2:

ERROR: There's no constant named 'ohos' in 'TargetPlatform'.

lib/src/account_kit_button.dart:12:49

   ╷
12 │     if (defaultTargetPlatform == TargetPlatform.ohos) {
   │                                                 ^^^^
   ╵

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

ERROR: The method 'OhosView' isn't defined for the type 'AccountKitButton'.

lib/src/account_kit_button.dart:13:14

   ╷
13 │       return OhosView(
   │              ^^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest Notes
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
vector_math - 2.4.3 2.4.3

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 2 errors:

  • UNDEFINED_ENUM_CONSTANT - lib/src/account_kit_button.dart:12:49 - There's no constant named 'ohos' in 'TargetPlatform'.
  • UNDEFINED_METHOD - lib/src/account_kit_button.dart:13:14 - The method 'OhosView' isn't defined for the type 'AccountKitButton'.

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.23.19, Flutter 3.47.7, Dart 3.13.5.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
55
points
98
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin for HarmonyOS to integrate Huawei Account Quick Login.

Repository (GitHub)
View/report issues

License

(pending) (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on account_kit_ohos

Packages that implement account_kit_ohos