open_widgets 0.17.0 open_widgets: ^0.17.0 copied to clipboard
A package that implements widgets for mobile and web.
We analyzed this package 2 days ago, and awarded it 100 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 60 to 180 characters to describe the package, what it does, and its target use case.
Failed to verify repository URL.
Please provide a valid repository
URL in pubspec.yaml
, such that:
repository
can be cloned,- a clone of the repository contains a
pubspec.yaml
, which:,- contains
name: open_widgets
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
Unable to access git repository: Could not accept branch name: open_widgets
.
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: MIT
.
0/10 points: 20% or more of the public API has dartdoc comments
29 out of 168 API elements (17.3 %) 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: base
, base.OpenCardClickable
, base.OpenCardClickable.OpenCardClickable
, base.OpenCardClickable.child
, base.OpenCardClickable.height
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
These platforms are not supported:
Package does not support platform `Linux`.
Because:
package:open_widgets/permission/permission.dart
that imports:package:permission_handler/permission_handler.dart
that declares support for platforms:Android
,iOS
,Windows
.
Package does not support platform `macOS`.
Because:
package:open_widgets/permission/permission.dart
that imports:package:permission_handler/permission_handler.dart
that declares support for platforms:Android
,iOS
,Windows
.
Package not compatible with platform Web
Because:
package:open_widgets/io/io.dart
that imports:dart:io
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:open_widgets/permission/permission.dart
that imports:package:device_info_plus/device_info_plus.dart
that imports:package:device_info_plus/src/device_info_plus_windows.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `iOS`.
Because:
package:open_widgets/permission/permission.dart
that imports:package:device_info_plus/device_info_plus.dart
that imports:package:device_info_plus/src/device_info_plus_windows.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:open_widgets/io/io.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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 25 issues. Showing the first 2:
WARNING: Unused import: 'dart:math'.
lib/chatbot/chat_page.dart:2:8
╷
2 │ import 'dart:math';
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/chatbot/chat_page.dart
WARNING: Unused import: '../position/position.dart'.
lib/navigator/mobile_sidebar.dart:4:8
╷
4 │ import '../position/position.dart' show FloatingCenterLeft;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/navigator/mobile_sidebar.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
device_info_plus |
^8.0.0 |
8.2.2 | 11.1.1 |
file |
^6.1.2 |
6.1.4 | 7.0.1 |
flutter |
flutter |
0.0.0 | 0.0.0 |
logger |
^1.1.0 |
1.4.0 | 2.4.0 |
path |
^1.8.1 |
1.9.1 | 1.9.1 |
path_provider |
^2.0.15 |
2.1.5 | 2.1.5 |
permission_handler |
^10.2.0 |
10.4.5 | 11.3.1 |
toml |
^0.14.0 |
0.14.0 | 0.16.0 |
url_launcher |
^6.1.10 |
6.3.1 | 6.3.1 |
velocity_x |
^3.6.0 |
3.6.0 | 4.2.1 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 6 issues. Showing the first 2:
The constraint `^8.0.0` on device_info_plus does not support the stable version `9.0.0`.
Try running dart pub upgrade --major-versions device_info_plus
to update the constraint.
The constraint `^6.1.2` on file does not support the stable version `7.0.0`.
Try running dart pub upgrade --major-versions file
to update the constraint.
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.22.15
, Flutter 3.24.4
, Dart 3.5.4
.
Check the analysis log for details.