yaru_widgets 3.6.0 copy "yaru_widgets: ^3.6.0" to clipboard
yaru_widgets: ^3.6.0 copied to clipboard

discontinuedreplaced by: yaru

Common flutter widgets useful for building desktop and web applications.

58
likes
120/ 160
pub points
77%
popularity

We analyzed this package in the last hour, and awarded it 120 pub points (of a possible 160):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

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

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.

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

761 out of 1007 API elements (75.6 %) have documentation comments.

Some symbols that are missing documentation: constants, foundation, widgets, yaru_widgets, yaru_widgets.YaruAppBarBuilder.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Windows
  • ✓ Linux
  • ✓ macOS

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:yaru_widgets/yaru_widgets.dart that imports:
  • package:yaru_widgets/widgets.dart that imports:
  • package:yaru_widgets/src/widgets/yaru_window_control.dart that imports:
  • package:yaru/yaru.dart that imports:
  • package:yaru/src/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_widgets/yaru_widgets.dart that imports:
  • package:yaru_widgets/widgets.dart that imports:
  • package:yaru_widgets/src/widgets/yaru_window_control.dart that imports:
  • package:yaru/yaru.dart that imports:
  • package:yaru/src/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_widgets/yaru_widgets.dart that imports:
  • package:yaru_widgets/widgets.dart that imports:
  • package:yaru_widgets/src/widgets/yaru_window_control.dart that imports:
  • package:yaru/yaru.dart that imports:
  • package:yaru/src/widgets/inherited_theme.dart that imports:
  • package:yaru/src/settings.dart that imports:
  • package:gtk/gtk.dart that declares support for platforms: Linux.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Windows`.

Because:

  • package:yaru_widgets/yaru_widgets.dart that imports:
  • package:yaru_widgets/widgets.dart that imports:
  • package:yaru_widgets/src/widgets/yaru_window_control.dart that imports:
  • package:yaru/yaru.dart that imports:
  • package:yaru/src/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_widgets/yaru_widgets.dart that imports:
  • package:yaru_widgets/widgets.dart that imports:
  • package:yaru_widgets/src/widgets/yaru_window_control.dart that imports:
  • package:yaru/yaru.dart that imports:
  • package:yaru/src/widgets/inherited_theme.dart that imports:
  • package:yaru/src/settings.dart that imports:
  • package:gtk/gtk.dart that declares support for platforms: Linux.
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 165 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: 'background' is deprecated and shouldn't be used. Use surface instead. This feature was deprecated after v3.18.0-0.1.pre.

lib/src/widgets/master_detail/yaru_master_detail_theme.dart:34:39

   ╷
34 │           ? materialTheme.colorScheme.background.scale(lightness: -0.029)
   │                                       ^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/master_detail/yaru_master_detail_theme.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
flutter flutter 0.0.0 0.0.0
yaru ^1.2.1 1.2.2 4.1.0
yaru_icons >=1.0.0 <3.0.0 2.4.0 2.4.0
yaru_window ^0.2.0 0.2.1 0.2.1
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
ffi - 2.1.2 2.1.2
flutter_web_plugins - 0.0.0 0.0.0
gtk - 2.1.0 2.1.0
material_color_utilities - 0.8.0 0.12.0
meta - 1.12.0 1.15.0
path - 1.9.0 1.9.0
platform - 3.1.5 3.1.5
plugin_platform_interface - 2.1.8 2.1.8
screen_retriever - 0.1.9 0.1.9
sky_engine - 0.0.99 0.0.99
vector_math - 2.1.4 2.1.4
window_manager - 0.3.9 0.3.9
yaru_window_linux - 0.2.0 0.2.0
yaru_window_manager - 0.1.2 0.1.2
yaru_window_platform_interface - 0.1.2 0.1.2
yaru_window_web - 0.0.3 0.0.3

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

The constraint `^1.2.1` on yaru does not support the stable version `4.0.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.5, Flutter 3.22.1, Dart 3.4.1.

Check the analysis log for details.

58
likes
120
pub points
77%
popularity

Publisher

verified publisherubuntu.com

Common flutter widgets useful for building desktop and web applications.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MPL-2.0 (LICENSE)

Dependencies

flutter, yaru, yaru_icons, yaru_window

More

Packages that depend on yaru_widgets