macos_ui_widgets 0.0.6
macos_ui_widgets: ^0.0.6 copied to clipboard
Extra widgets for macos ui, based on the <a href='https://pub.dev/packages/macos_ui'>macos_ui</a> library.
We analyzed this package 2 days ago, and awarded it 150 pub points (of a possible 160):
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: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
73 out of 82 API elements (89.0 %) have documentation comments.
Some symbols that are missing documentation: macos_ui_widgets
, macos_ui_widgets.MacosPulldownButton2.controlSize
, macos_ui_widgets.MacosPulldownButton2.onSelect
, macos_ui_widgets.MacosPulldownMenuDivider2.itemHeight
, macos_ui_widgets.MacosPulldownMenuEntry2.MacosPulldownMenuEntry2.new
.
10/10 points: Package has an example
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ macOS
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:macos_ui_widgets/macos_ui_widgets.dart
that imports:package:macos_ui_widgets/src/buttons/pulldown_button2.dart
that imports:package:macos_ui/macos_ui.dart
that declares support for platforms:macOS
.
Package does not support platform `iOS`.
Because:
package:macos_ui_widgets/macos_ui_widgets.dart
that imports:package:macos_ui_widgets/src/buttons/pulldown_button2.dart
that imports:package:macos_ui/macos_ui.dart
that declares support for platforms:macOS
.
Package does not support platform `Windows`.
Because:
package:macos_ui_widgets/macos_ui_widgets.dart
that imports:package:macos_ui_widgets/src/buttons/pulldown_button2.dart
that imports:package:macos_ui/macos_ui.dart
that declares support for platforms:macOS
.
Package does not support platform `Linux`.
Because:
package:macos_ui_widgets/macos_ui_widgets.dart
that imports:package:macos_ui_widgets/src/buttons/pulldown_button2.dart
that imports:package:macos_ui/macos_ui.dart
that declares support for platforms:macOS
.
Package does not support platform `Web`.
Because:
package:macos_ui_widgets/macos_ui_widgets.dart
that imports:package:macos_ui_widgets/src/buttons/pulldown_button2.dart
that imports:package:macos_ui/macos_ui.dart
that declares support for platforms:macOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:macos_ui_widgets/macos_ui_widgets.dart
that imports:package:macos_ui_widgets/src/buttons/pulldown_button2.dart
that imports:package:macos_ui/macos_ui.dart
that imports:package:macos_ui/src/utils/accent_color_listener.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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 21 issues. Showing the first 2:
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/src/buttons/popup_button2.dart:283:36
╷
283 │ color: popupColor?.withOpacity(0.25),
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/buttons/popup_button2.dart
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/src/buttons/popup_button2.dart:1292:39
╷
1292 │ color: Colors.black.withOpacity(0.2),
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/buttons/popup_button2.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
collection |
^1.18.0 |
1.19.1 | 1.19.1 | |
macos_ui |
^2.0.9 |
2.2.0 | 2.2.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
appkit_ui_element_colors |
- | 1.0.1 | 1.0.1 | |
characters |
- | 1.4.0 | 1.4.1 | |
equatable |
- | 2.0.7 | 2.0.7 | |
gradient_borders |
- | 1.0.1 | 1.0.1 | |
macos_window_utils |
- | 1.8.4 | 1.8.4 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
vector_math |
- | 2.1.4 | 2.2.0 |
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.21
, Flutter 3.32.4
, Dart 3.8.1
.
Check the analysis log for details.