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

PlatformLinux

Common flutter widgets useful for building desktop and web applications.

190
likes
150/ 160
pub points
96%
popularity

We analyzed this package 34 hours ago, and awarded it 150 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

1815 out of 2187 API elements (83.0 %) 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_window_control.dart that imports:
  • package:yaru/theme.dart that imports:
  • package:yaru/src/theme_widgets/inherited_theme.dart that imports:
  • package:yaru/src/theme_widgets/yaru_settings.dart that imports:
  • package:yaru/src/theme_widgets/settings_service.dart that imports:
  • package:gsettings/gsettings.dart that declares support for platforms: Linux.
Package does not support platform `iOS`.

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/theme_widgets/inherited_theme.dart that imports:
  • package:yaru/src/theme_widgets/yaru_settings.dart that imports:
  • package:yaru/src/theme_widgets/settings_service.dart that imports:
  • package:gsettings/gsettings.dart that declares support for platforms: Linux.
Package does not support platform `Windows`.

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

INFO: The import of 'package:animated_vector/animated_vector.dart' is unnecessary because all of the used elements are also provided by the import of 'package:animated_vector_annotations/animated_vector_annotations.dart'.

lib/src/icons_widgets/yaru_animated_icons.dart:1:8

  ╷
1 │ import 'package:animated_vector/animated_vector.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

INFO: The import of 'package:flutter/widgets.dart' is unnecessary because all of the used elements are also provided by the import of 'package:animated_vector_annotations/animated_vector_annotations.dart'.

lib/src/icons_widgets/yaru_animated_icons.dart:3:8

  ╷
3 │ import 'package:flutter/widgets.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

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

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

Package Constraint Compatible Latest
animated_vector ^0.2.0 0.2.2 0.2.2
animated_vector_annotations ^0.2.0 0.2.2 0.2.2
assorted_layout_widgets ^9.0.2 9.0.2 10.0.4
collection ^1.17.0 1.18.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 - 3.6.1 3.6.1
args - 2.6.0 2.6.0
characters - 1.3.0 1.3.1
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.3.0 4.3.0
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
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.99 0.0.99
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`, that was published 23 days ago.

When assorted_layout_widgets is 30 days old, this package will no longer be awarded points in this category.

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.15, Flutter 3.24.5, Dart 3.5.4.

Check the analysis log for details.