wttlock_flutter 0.0.2
wttlock_flutter: ^0.0.2 copied to clipboard
wttlock_flutter
We analyzed this package 5 days ago, and awarded it 115 pub points (of a possible 160):
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 50 to 180 characters to describe the package, what it does, and its target use case.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("0.0.2").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: MIT.
0/10 points: 20% or more of the public API has dartdoc comments
OUT:
Documenting wttlock_flutter...
Discovering libraries...
Linking elements...
Precaching local docs for 643222 elements...
Initialized dartdoc with 795 libraries
Generating docs for library ttlock.dart from package:wttlock_flutter/ttlock.dart...
Generating docs for library bean/extended_bluetooth_device.dart from package:wttlock_flutter/bean/extended_bluetooth_device.dart...
Generating docs for library bean/control_lock_result.dart from package:wttlock_flutter/bean/control_lock_result.dart...
Generating docs for library bean/passage_mode_config.dart from package:wttlock_flutter/bean/passage_mode_config.dart...
Generating docs for library bean/control_action.dart from package:wttlock_flutter/bean/control_action.dart...
[6 more lines]
ERR:
warning: wttlock_flutter has no library level documentation comments
from wttlock_flutter: (file:///tmp/pana_PPPATD/lib/ttlock.dart:1:1)
error: file already written at "wttlock_flutter/index.html"
for symbol wttlock_flutter: (file:///tmp/pana_PPPATD/lib/wttlock_flutter.dart:1:1)
conflicting with file already generated by wttlock_flutter: (file:///tmp/pana_PPPATD/lib/ttlock.dart:1:1)
Dartdoc generates a path and filename to write to for each symbol.
'wttlock_flutter' conflicts with another symbol in the generated path,
and therefore can not be written out. Changing the name, library name,
or class name (if appropriate) of one of the conflicting items can
resolve the conflict. Alternatively, use the @nodoc directive in one
[16 more lines]
10/10 points: Package has an example
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:wttlock_flutter/wttlock_flutter.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:wttlock_flutter/wttlock_flutter.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:wttlock_flutter/wttlock_flutter.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:wttlock_flutter/wttlock_flutter.dartthat declares support for platforms:Android,iOS.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on iOS
It does not contain ios/wttlock_flutter/Package.swift.
This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.
See https://docs.flutter.dev/to/spm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 12 issues. Showing the first 2:
WARNING: The operand can't be 'null', so the condition is always 'true'.
lib/wttlock_flutter.dart:177:16
╷
177 │ if (json != null) {
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/wttlock_flutter.dart
WARNING: The operand can't be 'null', so the condition is always 'true'.
lib/wttlock_flutter.dart:232:16
╷
232 │ if (json != null) {
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/wttlock_flutter.dart
10/10 points: All of the package dependencies are supported in the latest version
No dependencies.
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
vector_math |
- | 2.2.0 | 2.2.0 |
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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.5, Flutter 3.38.5, Dart 3.10.4.
Check the analysis log for details.