ubuntu_widgets 0.6.0 copy "ubuntu_widgets: ^0.6.0" to clipboard
ubuntu_widgets: ^0.6.0 copied to clipboard

PlatformLinux

A collection of widgets developed for Flutter-based Ubuntu applications.

1
likes
140/ 160
pub points
79%
popularity

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

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.

failed
Provide documentation
10 / 20trigger folding of the section

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

134 out of 134 API elements (100.0 %) have documentation comments.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
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:ubuntu_widgets/ubuntu_widgets.dart that imports:
  • package:ubuntu_widgets/src/password_strength_label.dart that imports:
  • 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:ubuntu_widgets/ubuntu_widgets.dart that imports:
  • package:ubuntu_widgets/src/password_strength_label.dart that imports:
  • 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:ubuntu_widgets/ubuntu_widgets.dart that imports:
  • package:ubuntu_widgets/src/password_strength_label.dart that imports:
  • 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:ubuntu_widgets/ubuntu_widgets.dart that imports:
  • package:ubuntu_widgets/src/password_strength_label.dart that imports:
  • 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:ubuntu_widgets/ubuntu_widgets.dart that imports:
  • package:ubuntu_widgets/src/password_strength_label.dart that imports:
  • 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.
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 9 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/menu_button_builder.dart:164:26

    ╷
164 │             minimumSize: MaterialStatePropertyAll(Size(_size?.width ?? 0, 0)),
    │                          ^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

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

INFO: 'MaterialState' is deprecated and shouldn't be used. Use WidgetState 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/menu_button_builder.dart:250:50

    ╷
250 │       if (widget.selected == null && index == 0) MaterialState.selected,
    │                                                  ^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/menu_button_builder.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
collection ^1.17.0 1.18.0 1.19.0
diacritic ^0.1.3 0.1.5 0.1.5
flutter flutter 0.0.0 0.0.0
form_field_validator ^1.1.0 1.1.0 1.1.0
password_strength ^0.2.0 0.2.0 0.2.0
ubuntu_localizations ^0.4.0 0.4.0 0.4.0
yaru ^4.0.0 4.1.0 4.1.0
Transitive dependencies
Package Constraint Compatible Latest
animated_vector - 0.2.0 0.2.0
animated_vector_annotations - 0.2.0 0.2.0
archive - 3.6.1 3.6.1
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
crypto - 3.0.3 3.0.3
ffi - 2.1.2 2.1.2
flutter_localizations - 0.0.0 0.0.0
flutter_web_plugins - 0.0.0 0.0.0
gtk - 2.1.0 2.1.0
image - 4.2.0 4.2.0
intl - 0.19.0 0.19.0
material_color_utilities - 0.8.0 0.12.0
meta - 1.12.0 1.15.0
path - 1.9.0 1.9.0
path_parsing - 1.0.1 1.0.1
petitparser - 6.0.2 6.0.2
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
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4
window_manager - 0.3.9 0.3.9
xml - 6.5.0 6.5.0
yaru_window - 0.2.1 0.2.1
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.

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.6, Flutter 3.22.2, Dart 3.4.3.

Check the analysis log for details.