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

PlatformLinux

Common flutter widgets useful for building desktop and web applications.

228
likes
140/ 160
pub points
7.31k
downloads

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

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MPL-2.0.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

1717 out of 2065 API elements (83.1 %) have documentation comments.

Some symbols that are missing documentation: constants, foundation, icons, theme, theme.isMobile.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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/settings.dart that imports:
  • package:gtk/gtk.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/settings.dart that imports:
  • package:gtk/gtk.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/settings.dart that imports:
  • package:gtk/gtk.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/settings.dart that imports:
  • package:gtk/gtk.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/settings.dart that imports:
  • package:gtk/gtk.dart that declares support for platforms: Linux.

Failed check 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.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

Found 1130 issues. Showing the first 2:

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/widgets/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/widgets/yaru_expansion_panel_list.dart

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

lib/src/colors.dart:199:26

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

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

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

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

Package Constraint Compatible Latest Notes
animated_vector ^0.2.0 0.2.2 0.2.2
animated_vector_annotations ^0.2.0 0.2.2 0.2.2
collection ^1.17.0 1.19.1 1.19.1
gtk ^2.1.0 2.1.0 2.1.0
platform ^3.1.0 3.1.6 3.1.6
yaru_window ^0.2.0 0.2.1+1 0.2.1+1
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 4.0.6 4.0.6
characters - 1.4.0 1.4.0
crypto - 3.0.6 3.0.6
ffi - 2.1.4 2.1.4
image - 4.5.4 4.5.4
json_annotation - 4.9.0 4.9.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
path_parsing - 1.1.0 1.1.0
petitparser - 6.1.0 6.1.0
plugin_platform_interface - 2.1.8 2.1.8
posix - 6.0.2 6.0.2
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
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.5
window_manager - 0.4.3 0.4.3
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.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 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.

Weekly downloads

Display as:
By versions:
228
likes
140
points
7.31k
downloads

Publisher

verified publisherubuntu.com

Weekly Downloads

Common flutter widgets useful for building desktop and web applications.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MPL-2.0 (license)

Dependencies

animated_vector, animated_vector_annotations, collection, flutter, gtk, platform, yaru_window

More

Packages that depend on yaru