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

Ubuntu Yaru Style - Distinct look and feel of the Ubuntu Desktop

148
likes
130/ 140
pub points
93%
popularity

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

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

10/10 points: Provide a valid pubspec.yaml

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

81 out of 135 API elements (60.0 %) have documentation comments.

Some symbols that are missing documentation: yaru, yaru.YaruColors.errorDark, yaru.YaruColors.errorLight, yaru.YaruColors.linkDark, yaru.YaruColors.linkLight.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS
  • ✓ Web

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

Package does not support platform `Android`.

Because:

  • 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/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 `Windows`.

Because:

  • 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/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/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.
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 42 issues. Showing the first 2:

INFO: 'MaterialStatePropertyAll' is deprecated and shouldn't be used. Use WidgetStatePropertyAll instead. Moved to the Widgets layer to make code available outside of Material. This feature was deprecated after v3.19.0-0.3.pre.

lib/src/themes/common_themes.dart:105:12

    ╷
105 │   padding: MaterialStatePropertyAll(EdgeInsets.symmetric(horizontal: 16)),
    │            ^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

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

INFO: 'MaterialStateColor' is deprecated and shouldn't be used. Use WidgetStateColor instead. Moved to the Widgets layer to make code available outside of Material. This feature was deprecated after v3.19.0-0.3.pre.

lib/src/themes/common_themes.dart:228:24

    ╷
228 │     trackOutlineColor: MaterialStateColor.resolveWith(
    │                        ^^^^^^^^^^^^^^^^^^
    ╵

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

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

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

Package Constraint Compatible Latest
collection ^1.17.0 1.18.0 1.18.0
flutter flutter 0.0.0 0.0.0
gtk ^2.0.0 2.1.0 2.1.0
platform ^3.1.0 3.1.4 3.1.4
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
ffi - 2.1.2 2.1.2
material_color_utilities - 0.8.0 0.11.1
meta - 1.12.0 1.15.0
sky_engine - 0.0.99 0.0.99
vector_math - 2.1.4 2.1.4

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

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

Analyzed with Pana 0.22.3, Flutter 3.22.0, Dart 3.4.0.

Check the analysis log for details.

148
likes
130
pub points
93%
popularity

Publisher

verified publisherubuntu.com

Ubuntu Yaru Style - Distinct look and feel of the Ubuntu Desktop

Repository (GitHub)
View/report issues

Documentation

API reference

License

MPL-2.0 (LICENSE)

Dependencies

collection, flutter, gtk, platform

More

Packages that depend on yaru