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

Common flutter widgets useful for building desktop and web applications.

251
likes
80/ 160
pub points
10k
downloads

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

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

Partially passed check 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.

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

1809 out of 2237 API elements (80.9 %) have documentation comments.

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

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_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.

Failed check 0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package 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
0 / 50trigger folding of the section

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

Found 905 issues. Showing the first 2:

ERROR: The argument type 'TabBarTheme' can't be assigned to the parameter type 'TabBarThemeData?'.

lib/src/themes/common_themes.dart:735:18

    ╷
735 │     tabBarTheme: _createTabBarTheme(colorScheme, dividerColor),
    │                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

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

ERROR: The argument type 'DialogTheme' can't be assigned to the parameter type 'DialogThemeData?'.

lib/src/themes/common_themes.dart:736:18

    ╷
736 │     dialogTheme: _createDialogTheme(colorScheme),
    │                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

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

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

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

Package Constraint Compatible Latest Notes
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 11.0.0
collection ^1.17.0 1.19.1 1.19.1
dbus ^0.7.10 0.7.11 0.7.11
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+1 0.1.2+1
yaru_window ^0.2.1+1 0.2.1+1 0.2.1+1
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 4.0.7 4.0.7
args - 2.7.0 2.7.0
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
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.13.0
matrix4_transform - 3.0.1 4.0.1
meta - 1.16.0 1.17.0
path - 1.9.1 1.9.1
path_parsing - 1.1.0 1.1.0
petitparser - 6.1.0 7.0.0
plugin_platform_interface - 2.1.8 2.1.8
posix - 6.0.3 6.0.3
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.2.0
window_manager - 0.4.3 0.5.0
xdg_directories - 1.1.0 1.1.0
xml - 6.5.0 6.6.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.

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 3 errors:

  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/themes/common_themes.dart:735:18 - The argument type 'TabBarTheme' can't be assigned to the parameter type 'TabBarThemeData?'.
  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/themes/common_themes.dart:736:18 - The argument type 'DialogTheme' can't be assigned to the parameter type 'DialogThemeData?'.
  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/themes/common_themes.dart:742:16 - The argument type 'CardTheme' can't be assigned to the parameter type 'CardThemeData?'.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.21, Flutter 3.32.4, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
251
likes
80
points
10k
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, assorted_layout_widgets, collection, dbus, flutter, gsettings, gtk, platform, platform_linux, yaru_window

More

Packages that depend on yaru