yaru_widgets 1.1.5
yaru_widgets: ^1.1.5 copied to clipboard
Common flutter widgets useful for building desktop and web applications.
We analyzed this package 2 days ago, and awarded it 120 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
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: yaru_widgets
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
Repository has no matching pubspec.yaml
with name: yaru_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: MPL-2.0
.
10/10 points: 20% or more of the public API has dartdoc comments
292 out of 363 API elements (80.4 %) have documentation comments.
Some symbols that are missing documentation: yaru_widgets
, yaru_widgets.BorderRadiusExtension
, yaru_widgets.UbuntuLogo.UbuntuLogo.new
, yaru_widgets.YaruAlertDialog
, yaru_widgets.YaruAlertDialog.YaruAlertDialog.new
.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:yaru_widgets/yaru_widgets.dart
that imports:package:yaru_widgets/src/pages/layouts/yaru_master_detail_page.dart
that imports:package:yaru_widgets/src/pages/layouts/yaru_portrait_layout.dart
that imports:package:yaru/yaru.dart
that imports:package:yaru/src/widgets/inherited_theme.dart
that imports:package:platform/platform.dart
that imports:package:platform/src/interface/local_platform.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:yaru_widgets/yaru_widgets.dart
that imports:package:yaru_widgets/src/pages/layouts/yaru_master_detail_page.dart
that imports:package:yaru_widgets/src/pages/layouts/yaru_portrait_layout.dart
that imports:package:yaru/yaru.dart
that imports:package:yaru/src/widgets/inherited_theme.dart
that imports:package:platform/platform.dart
that imports:package:platform/src/interface/local_platform.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 24 issues. Showing the first 2:
WARNING: The parameter type of '==' operators should be non-nullable.
lib/src/utilities/yaru_expansion_panel_list.dart:156:17
╷
156 │ bool operator ==(dynamic other) {
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/utilities/yaru_expansion_panel_list.dart
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/src/controls/yaru_progress_indicator.dart:357:23
╷
357 │ ..color = color.withOpacity(.25)
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/controls/yaru_progress_indicator.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
yaru |
^0.4.1 |
0.4.8 | 7.0.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.11.1 | 0.12.0 | |
meta |
- | 1.16.0 | 1.16.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
vector_math |
- | 2.1.4 | 2.1.5 | |
yaru_color_generator |
- | 0.1.0 | 0.1.0 | |
yaru_colors |
- | 0.1.7 | 0.1.7 | Discontinued |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^0.4.1` on yaru does not support the stable version `0.5.0`.
Try running dart pub upgrade --major-versions yaru
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.20
, Flutter 3.29.2
, Dart 3.7.2
.
Check the analysis log for details.