yuni_widget 0.1.10
yuni_widget: ^0.1.10 copied to clipboard
Yu Ni widget library for common UI components and theme configuration
We analyzed this package 9 hours ago, and awarded it 130 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
0/5 points: Provide a valid README.md
`README.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of README.md in your package should primarily contain characters used in English.
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("0.1.10").
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
742 out of 872 API elements (85.1 %) have documentation comments.
Some symbols that are missing documentation: yuni_widget, yuni_widget.AppColors.AppColors.new, yuni_widget.AppDialogStyles.AppDialogStyles.new, yuni_widget.AppDialogStyles.copyWith, yuni_widget.AppDialogStyles.primaryButtonSize.
10/10 points: Package has an example
10/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 not compatible with platform Web
Because:
package:yuni_widget/yuni_widget.dartthat imports:package:yuni_widget/src/example/app_theme_example.dartthat imports:package:yuni_widget/src/example/widget/yuni_radio_example.dartthat imports:package:yuni_widget/src/widgets/radio/y_radio.dartthat imports:package:flutter_svg/flutter_svg.dartthat imports:package:flutter_svg/svg.dartthat imports:package:flutter_svg/src/default_theme.dartthat imports:package:flutter_svg/src/loaders.dartthat imports:package:flutter_svg/src/utilities/file.dartthat imports:package:flutter_svg/src/utilities/_file_io.dartthat imports:dart:io
WASM compatibility:
Package not compatible with runtime wasm
Because:
package:yuni_widget/yuni_widget.dartthat imports:package:yuni_widget/src/example/app_theme_example.dartthat imports:package:yuni_widget/src/example/widget/yuni_radio_example.dartthat imports:package:yuni_widget/src/widgets/radio/y_radio.dartthat imports:package:flutter_svg/flutter_svg.dartthat imports:package:flutter_svg/svg.dartthat imports:package:flutter_svg/src/default_theme.dartthat imports:package:flutter_svg/src/loaders.dartthat imports:package:flutter_svg/src/utilities/file.dartthat imports:package:flutter_svg/src/utilities/_file_io.dartthat imports:dart:io
Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.
Swift Package Manager support:
Package does not support the Swift Package Manager on macOS
The package does not contain macos/yuni_widget/Package.swift.
Package does not support the Swift Package Manager on iOS
The package does not contain ios/yuni_widget/Package.swift.
Note: This iOS or macOS plugin does not support the Swift Package Manager, resulting in a partial score. See https://docs.flutter.dev/to/spm for details.
Built-in Kotlin support:
Legacy Kotlin configuration detected in `android/build.gradle`.
This plugin applies the Kotlin Gradle Plugin (KGP) or uses the android.kotlinOptions{} block.
Note: This Android plugin does not support built-in Kotlin. In the future, this might affect scoring. See https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 35 issues. Showing the first 2:
INFO: 'background' is deprecated and shouldn't be used. Use surface instead. This feature was deprecated after v3.18.0-0.1.pre.
lib/src/core/theme/app_theme.dart:74:9
╷
74 │ background: colors.background,
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/theme/app_theme.dart
INFO: 'onBackground' is deprecated and shouldn't be used. Use onSurface instead. This feature was deprecated after v3.18.0-0.1.pre.
lib/src/core/theme/app_theme.dart:79:9
╷
79 │ onBackground: colors.onBackground,
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/theme/app_theme.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
flutter_animate |
^4.5.2 |
4.5.2 | 4.5.2 | |
flutter_svg |
^2.1.0 |
2.3.0 | 2.3.0 | |
plugin_platform_interface |
^2.1.8 |
2.1.8 | 2.1.8 | |
web |
^1.1.1 |
1.1.1 | 1.1.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
flutter_shaders |
- | 0.1.3 | 0.1.3 | |
http |
- | 1.6.0 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.18.0 | 1.18.3 | |
path |
- | 1.9.1 | 1.9.1 | |
path_parsing |
- | 1.1.0 | 1.1.0 | |
petitparser |
- | 7.0.2 | 7.0.2 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_graphics |
- | 1.2.2 | 1.2.2 | |
vector_graphics_codec |
- | 1.1.13 | 1.1.13 | |
vector_graphics_compiler |
- | 1.2.6 | 1.2.6 | |
vector_math |
- | 2.2.0 | 2.4.0 | |
xml |
- | 7.0.1 | 7.0.1 |
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.23.13, Flutter 3.44.3, Dart 3.12.2.
Check the analysis log for details.