yaru 6.0.0 copy "yaru: ^6.0.0" to clipboard
yaru: ^6.0.0 copied to clipboard

PlatformLinux

Common flutter widgets useful for building desktop and web applications.

201
likes
140/ 160
pub points
5.16k
downloads

We analyzed this package 43 hours ago, and awarded it 140 pub points (of a possible 160):

partial
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/ubuntu/yaru.dart/issues was unreachable. Make sure that the website is reachable via HEAD requests.

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

1809 out of 2215 API elements (81.7 %) have documentation comments.

Some symbols that are missing documentation: constants, constants.kTargetCanvasSize, constants.kTargetIconSize, foundation, icons.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Linux

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:yaru/yaru.dart that imports:
  • package:yaru/widgets.dart that imports:
  • package:yaru/src/widgets/yaru_title_bar.dart that imports:
  • package:yaru_window/yaru_window.dart that declares support for platforms: Windows, Linux, macOS, Web.
Package does not support platform `iOS`.

Because:

  • package:yaru/yaru.dart that imports:
  • package:yaru/widgets.dart that imports:
  • package:yaru/src/widgets/yaru_title_bar.dart that imports:
  • package:yaru_window/yaru_window.dart that declares support for platforms: Windows, Linux, macOS, Web.
Package does not support platform `Windows`.

Because:

  • package:yaru/yaru.dart that imports:
  • package:yaru/settings.dart that imports:
  • package:yaru/src/settings/yaru_settings.dart that imports:
  • package:yaru/src/settings/settings_service.dart that imports:
  • package:gsettings/gsettings.dart that declares support for platforms: Linux.
Package does not support platform `macOS`.

Because:

  • package:yaru/yaru.dart that imports:
  • package:yaru/settings.dart that imports:
  • package:yaru/src/settings/yaru_settings.dart that imports:
  • package:yaru/src/settings/settings_service.dart that imports:
  • package:gsettings/gsettings.dart that declares support for platforms: Linux.
Package does not support platform `Web`.

Because:

  • package:yaru/yaru.dart that imports:
  • package:yaru/settings.dart that imports:
  • package:yaru/src/settings/yaru_settings.dart that imports:
  • package:yaru/src/settings/settings_service.dart that imports:
  • package:gsettings/gsettings.dart that declares support for platforms: Linux.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:yaru/yaru.dart that imports:
  • package:yaru/widgets.dart that imports:
  • package:yaru/src/widgets/yaru_window_control.dart that imports:
  • package:yaru/theme.dart that imports:
  • package:yaru/src/themes/common_themes.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.

partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

Found 83 issues. Showing the first 2:

INFO: 'opacity' is deprecated and shouldn't be used. Use .a.

lib/src/themes/colors.dart:214:26

    ╷
214 │         .withAlpha(scale(opacity, alpha))
    │                          ^^^^^^^
    ╵

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

INFO: 'alpha' is deprecated and shouldn't be used. Use .a.

lib/src/themes/colors.dart:328:16

    ╷
328 │     return '#${alpha.toHex()}${red.toHex()}${green.toHex()}${blue.toHex()}';
    │                ^^^^^
    ╵

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

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest
animated_vector ^0.2.2 0.2.2 0.2.2
animated_vector_annotations ^0.2.2 0.2.2 0.2.2
assorted_layout_widgets ^9.0.2 9.0.2 10.0.4
collection ^1.17.0 1.19.0 1.19.1
dbus ^0.7.10 0.7.10 0.7.10
flutter flutter 0.0.0 0.0.0
gsettings ^0.2.8 0.2.8 0.2.8
gtk ^2.1.0 2.1.0 2.1.0
platform ^3.1.5 3.1.6 3.1.6
platform_linux ^0.1.2 0.1.2 0.1.2
yaru_window ^0.2.1+1 0.2.1+1 0.2.1+1
Transitive dependencies
Package Constraint Compatible Latest
archive - 4.0.2 4.0.2
args - 2.6.0 2.6.0
characters - 1.3.0 1.4.0
clock - 1.1.2 1.1.2
crypto - 3.0.6 3.0.6
ffi - 2.1.3 2.1.3
flutter_web_plugins - 0.0.0 0.0.0
image - 4.5.2 4.5.2
json_annotation - 4.9.0 4.9.0
material_color_utilities - 0.11.1 0.12.0
matrix4_transform - 3.0.1 4.0.1
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
path_parsing - 1.1.0 1.1.0
petitparser - 6.0.2 6.0.2
plugin_platform_interface - 2.1.8 2.1.8
posix - 6.0.1 6.0.1
screen_retriever - 0.2.0 0.2.0
screen_retriever_linux - 0.2.0 0.2.0
screen_retriever_macos - 0.2.0 0.2.0
screen_retriever_platform_interface - 0.2.0 0.2.0
screen_retriever_windows - 0.2.0 0.2.0
sky_engine - 0.0.0 0.0.0
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
window_manager - 0.4.3 0.4.3
xdg_directories - 1.1.0 1.1.0
xml - 6.5.0 6.5.0
yaru_window_linux - 0.2.1 0.2.1
yaru_window_manager - 0.1.2+1 0.1.2+1
yaru_window_platform_interface - 0.1.2+1 0.1.2+1
yaru_window_web - 0.0.3+1 0.0.3+1

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

The constraint `^9.0.2` on assorted_layout_widgets does not support the stable version `10.0.0`.

Try running dart pub upgrade --major-versions assorted_layout_widgets 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.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.