duia_state 0.0.3
duia_state: ^0.0.3 copied to clipboard

Duia StateManage Plugin

0
likes
55 / 110
pub points
0 %
popularity

We analyzed this package on Apr 8, 2021, and awarded it 55 pub points (of a possible 110):

Follow Dart file conventions
5 / 20

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.

0/5 points: Provide a valid README.md

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

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

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/lib/main.dart

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

  • 5 out of 22 API elements (22.7 %) have documentation comments.
Support multiple platforms
10 / 20

10/20 points: Supports 2 of 3 possible platforms (iOS, Android, Web)

Found 6 issues. Showing the first 2:

Consider supporting multiple platforms:

Package does not support Flutter platform Web

Because:

  • package:duia_state/duia_state.dart that declares support for platforms: Android, iOS
Pass static analysis
0 / 30

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

Found 3 issues. Showing the first 2:

ERROR: The argument type 'String' can't be assigned to the parameter type 'DiagnosticsNode'.

lib/duia_statem.dart:60:15

   ╷
60 │               context: '$runtimeType 在调度通知',
   │               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run flutter analyze lib/duia_statem.dart

ERROR: The argument type 'Null Function(StringBuffer)' can't be assigned to the parameter type 'Iterable

lib/duia_statem.dart:61:15

   ╷
61 │ ┌               informationCollector: (StringBuffer information) {
62 │ │                 information
63 │ │                     .writeln('$runtimeType 当前发送通知的是:');
64 │ │                 information.write('  $this');
65 │ │               }));
   │ └───────────────^
   ╵

To reproduce make sure you are using pedantic and run flutter analyze lib/duia_statem.dart

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
flutterflutter0.0.00.0.0
provide^1.0.11.0.21.0.2
Transitive dependencies
PackageConstraintCompatibleLatest
characters-1.1.01.1.0
collection-1.15.01.15.0
meta-1.3.01.3.0
sky_engine-0.0.990.0.99
typed_data-1.3.01.3.0
vector_math-2.1.02.1.0

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

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

Analysed with Pana 0.15.4, Flutter 2.0.4, Dart 2.12.2.