xui 3.1.2
xui: ^3.1.2 copied to clipboard
flutter ui库.
We analyzed this package 6 days ago, and awarded it 55 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
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("3.1.2").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
235 out of 928 API elements (25.3 %) have documentation comments.
Some symbols that are missing documentation: XButtom, XButtom.XButton, XButtom.XButton.XButton.new, XButtom.XButton.callback, XButtom.XButton.child.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package does not support platform `Web`.
Because:
package:xui/xui.dartthat imports:package:xui/component/index.dartthat imports:package:xui/component/ui/my_gallery_images_widget/gallery_images.dartthat imports:package:xui/component/ui/html/XImage.dartthat imports:package:cached_network_image/cached_network_image.dartthat imports:package:cached_network_image/src/image_provider/cached_network_image_provider.dartthat imports:package:flutter_cache_manager/flutter_cache_manager.dartthat imports:package:flutter_cache_manager/src/storage/file_system/file_system.dartthat imports:package:flutter_cache_manager/src/storage/file_system/file_system_io.dartthat imports:package:path_provider/path_provider.dartthat declares support for platforms:Android,iOS,Windows,Linux,macOS.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Windows`.
Because:
package:xui/xui.dartthat imports:package:xui/component/index.dartthat imports:package:xui/component/ui/my_gallery_images_widget/gallery_images.dartthat imports:package:xui/component/ui/html/XImage.dartthat imports:package:cached_network_image/cached_network_image.dartthat imports:package:cached_network_image/src/image_provider/cached_network_image_provider.dartthat imports:package:flutter_cache_manager/flutter_cache_manager.dartthat imports:package:flutter_cache_manager/src/storage/cache_info_repositories/cache_info_repositories.dartthat imports:package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dartthat imports:package:sqflite/sqflite.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Linux`.
Because:
package:xui/xui.dartthat imports:package:xui/component/index.dartthat imports:package:xui/component/ui/my_gallery_images_widget/gallery_images.dartthat imports:package:xui/component/ui/html/XImage.dartthat imports:package:cached_network_image/cached_network_image.dartthat imports:package:cached_network_image/src/image_provider/cached_network_image_provider.dartthat imports:package:flutter_cache_manager/flutter_cache_manager.dartthat imports:package:flutter_cache_manager/src/storage/cache_info_repositories/cache_info_repositories.dartthat imports:package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dartthat imports:package:sqflite/sqflite.dartthat declares support for platforms:Android,iOS,macOS.
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.cn/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 284 issues. Showing the first 2:
ERROR: The getter 'subtitle1' isn't defined for the type 'TextTheme'.
lib/component/ui/default/popup_menu.dart:327:87
╷
327 │ TextStyle style = widget.textStyle ?? popupMenuTheme.textStyle ?? theme.textTheme.subtitle1!;
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/component/ui/default/popup_menu.dart
WARNING: The operand can't be 'null', so the condition is always 'false'.
lib/component/js/cache.dart:8:9
╷
8 │ if (null == value) {
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/component/js/cache.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
cached_network_image |
^3.2.0 |
3.4.1 | 3.4.1 | |
flutter_picker |
^2.1.0 |
2.1.0 | 2.1.0 | |
logger |
^1.4.0 |
1.4.0 | 2.6.2 | |
path_provider |
^2.0.2 |
2.1.5 | 2.1.5 | |
pull_to_refresh |
^2.0.0 |
2.0.0 | 2.0.0 | |
shared_preferences |
^2.0.7 |
2.5.3 | 2.5.3 | |
url_launcher |
^6.1.6 |
6.3.2 | 6.3.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
cached_network_image_platform_interface |
- | 4.1.1 | 4.1.1 | |
cached_network_image_web |
- | 1.3.1 | 1.3.1 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.6 | 3.0.6 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
flutter_cache_manager |
- | 3.4.1 | 3.4.1 | |
http |
- | 1.5.0 | 1.5.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
octo_image |
- | 2.1.0 | 2.1.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_android |
- | 2.2.20 | 2.2.20 | |
path_provider_foundation |
- | 2.4.3 | 2.4.3 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
rxdart |
- | 0.28.0 | 0.28.0 | |
shared_preferences_android |
- | 2.4.15 | 2.4.15 | |
shared_preferences_foundation |
- | 2.5.5 | 2.5.5 | |
shared_preferences_linux |
- | 2.4.1 | 2.4.1 | |
shared_preferences_platform_interface |
- | 2.4.1 | 2.4.1 | |
shared_preferences_web |
- | 2.4.3 | 2.4.3 | |
shared_preferences_windows |
- | 2.4.1 | 2.4.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sprintf |
- | 7.0.0 | 7.0.0 | |
sqflite |
- | 2.4.2 | 2.4.2 | |
sqflite_android |
- | 2.4.2+2 | 2.4.2+2 | |
sqflite_common |
- | 2.5.6 | 2.5.6 | |
sqflite_darwin |
- | 2.4.2 | 2.4.2 | |
sqflite_platform_interface |
- | 2.4.0 | 2.4.0 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
synchronized |
- | 3.4.0 | 3.4.0 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
url_launcher_android |
- | 6.3.24 | 6.3.24 | |
url_launcher_ios |
- | 6.3.5 | 6.3.5 | |
url_launcher_linux |
- | 3.2.1 | 3.2.1 | |
url_launcher_macos |
- | 3.2.4 | 3.2.4 | |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 | |
url_launcher_web |
- | 2.4.1 | 2.4.1 | |
url_launcher_windows |
- | 3.1.4 | 3.1.4 | |
uuid |
- | 4.5.1 | 4.5.1 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^1.4.0` on logger does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions logger 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 1 error:
UNDEFINED_GETTER-lib/component/ui/default/popup_menu.dart:327:87- The getter 'subtitle1' isn't defined for the type 'TextTheme'.
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.24, Flutter 3.35.5, Dart 3.9.2.
Check the analysis log for details.