platform_ui 0.1.0
platform_ui: ^0.1.0 copied to clipboard
Platform specific Widgets and UI toolkit
We analyzed this package 2 days ago, and awarded it 60 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description
field of pubspec.yaml
. Use 50 to 180 characters to describe the package, what it does, and its target use case.
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
.
0/10 points: 20% or more of the public API has dartdoc comments
43 out of 654 API elements (6.6 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs
lint.
Some symbols that are missing documentation: platform_ui
, platform_ui.PlatformAlertDialog
, platform_ui.PlatformAlertDialog.PlatformAlertDialog.new
, platform_ui.PlatformAlertDialog.android
, platform_ui.PlatformAlertDialog.content
.
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:platform_ui/platform_ui.dart
that imports:package:platform_ui/src/platform_window_buttons.dart
that imports:package:platform_ui/src/specific/linux_window_button.dart
that imports:package:libadwaita/libadwaita.dart
that imports:package:libadwaita/src/widgets/widgets.dart
that imports:package:libadwaita/src/widgets/adw/header_bar.dart
that imports:package:gsettings/gsettings.dart
that declares support for platforms:Linux
.
Package does not support platform `iOS`.
Because:
package:platform_ui/platform_ui.dart
that imports:package:platform_ui/src/platform_window_buttons.dart
that imports:package:platform_ui/src/specific/linux_window_button.dart
that imports:package:libadwaita/libadwaita.dart
that imports:package:libadwaita/src/widgets/widgets.dart
that imports:package:libadwaita/src/widgets/adw/header_bar.dart
that imports:package:gsettings/gsettings.dart
that declares support for platforms:Linux
.
Package does not support platform `Windows`.
Because:
package:platform_ui/platform_ui.dart
that imports:package:platform_ui/src/platform_window_buttons.dart
that imports:package:platform_ui/src/specific/linux_window_button.dart
that imports:package:libadwaita/libadwaita.dart
that imports:package:libadwaita/src/widgets/widgets.dart
that imports:package:libadwaita/src/widgets/adw/header_bar.dart
that imports:package:gsettings/gsettings.dart
that declares support for platforms:Linux
.
Package does not support platform `Linux`.
Because:
package:platform_ui/platform_ui.dart
that imports:package:platform_ui/src/platform_bottom_navigation_bar.dart
that imports:package:macos_ui/macos_ui.dart
that declares support for platforms:macOS
.
Package does not support platform `Web`.
Because:
package:platform_ui/platform_ui.dart
that imports:package:platform_ui/src/platform_window_buttons.dart
that imports:package:platform_ui/src/specific/linux_window_button.dart
that imports:package:libadwaita/libadwaita.dart
that imports:package:libadwaita/src/widgets/widgets.dart
that imports:package:libadwaita/src/widgets/adw/header_bar.dart
that imports:package:gsettings/gsettings.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 `macOS`.
Because:
package:platform_ui/platform_ui.dart
that imports:package:platform_ui/src/platform_window_buttons.dart
that imports:package:platform_ui/src/specific/linux_window_button.dart
that imports:package:libadwaita/libadwaita.dart
that imports:package:libadwaita/src/widgets/widgets.dart
that imports:package:libadwaita/src/widgets/adw/header_bar.dart
that imports:package:gsettings/gsettings.dart
that declares support for platforms:Linux
.
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.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 161 issues. Showing the first 2:
ERROR: Undefined class 'ThemeData'.
lib/src/platform_app.dart:37:9
╷
37 │ final FluentUI.ThemeData? windowsTheme;
│ ^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/platform_app.dart
ERROR: Undefined class 'ThemeData'.
lib/src/platform_app.dart:38:9
╷
38 │ final FluentUI.ThemeData? windowsDarkTheme;
│ ^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/platform_app.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
adwaita |
^0.5.2 |
0.5.2 | 1.1.0 | |
collection |
^1.16.0 |
1.19.1 | 1.19.1 | |
fluent_ui |
^4.0.2 |
4.11.3 | 4.11.3 | |
flutter_svg |
^1.1.6 |
1.1.6 | 2.1.0 | |
libadwaita |
^1.2.5 |
1.2.5 | 2.0.2 | |
libadwaita_core |
^0.5.4 |
0.5.4 | 0.5.4 | |
macos_ui |
^1.7.5 |
1.12.2 | 2.1.10 | |
popover_gtk |
^0.2.6+3 |
0.2.6+3 | 0.2.6+3 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.0 | |
clock |
- | 1.1.2 | 1.1.2 | |
dbus |
- | 0.7.11 | 0.7.11 | |
ffi |
- | 2.1.4 | 2.1.4 | |
gsettings |
- | 0.2.8 | 0.2.8 | |
http |
- | 0.13.6 | 1.3.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
intl |
- | 0.19.0 | 0.20.2 | |
material_color_utilities |
- | 0.11.1 | 0.12.0 | |
math_expressions |
- | 2.7.0 | 2.7.0 | |
meta |
- | 1.16.0 | 1.16.0 | |
package_info_plus |
- | 1.4.3+1 | 8.3.0 | |
package_info_plus_linux |
- | 1.0.5 | 2.0.0 | Discontinued |
package_info_plus_macos |
- | 1.3.0 | 2.0.0 | Discontinued |
package_info_plus_platform_interface |
- | 1.0.2 | 3.2.0 | |
package_info_plus_web |
- | 1.0.6 | 2.0.0 | Discontinued |
package_info_plus_windows |
- | 2.1.0 | 3.0.0 | Discontinued |
path |
- | 1.9.1 | 1.9.1 | |
path_drawing |
- | 1.0.1 | 1.0.1 | |
path_parsing |
- | 1.1.0 | 1.1.0 | |
petitparser |
- | 6.1.0 | 6.1.0 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
recase |
- | 4.1.0 | 4.1.0 | |
scroll_pos |
- | 0.5.0 | 0.5.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
url_launcher |
- | 6.3.1 | 6.3.1 | |
url_launcher_android |
- | 6.3.16 | 6.3.16 | |
url_launcher_ios |
- | 6.3.3 | 6.3.3 | |
url_launcher_linux |
- | 3.2.1 | 3.2.1 | |
url_launcher_macos |
- | 3.2.2 | 3.2.2 | |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 | |
url_launcher_web |
- | 2.4.0 | 2.4.0 | |
url_launcher_windows |
- | 3.1.4 | 3.1.4 | |
vector_math |
- | 2.1.4 | 2.1.5 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 3.1.4 | 5.12.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 6.5.0 | 6.5.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 4 issues. Showing the first 2:
The constraint `^0.5.2` on adwaita does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions adwaita
to update the constraint.
The constraint `^1.1.6` on flutter_svg does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions flutter_svg
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 18 errors:
UNDEFINED_GETTER
-lib/src/platform_bottom_navigation_bar.dart:111:53
- The getter 'bottomAppBarColor' isn't defined for the type 'ThemeData'.AMBIGUOUS_IMPORT
-lib/src/platform_list_tile.dart:86:12
- The name 'CupertinoListTile' is defined in the libraries 'package:flutter/src/cupertino/list_tile.dart (via package:flutter/cupertino.dart)' and 'package:platform_ui/src/specific/cupertino_list_tile.dart'.INVOCATION_OF_NON_FUNCTION
-lib/src/platform_list_tile.dart:86:12
- 'CupertinoListTile' isn't a function.
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.20
, Flutter 3.29.2
, Dart 3.7.2
.
Check the analysis log for details.