smart_design_system 0.0.28
smart_design_system: ^0.0.28 copied to clipboard
Design system for SmartDash.
We analyzed this package 25 hours ago, and awarded it 90 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.
Homepage URL doesn't exist.
At the time of the analysis https://smartdash.ventures was unreachable. Make sure that the website is reachable via HEAD requests.
0/5 points: Provide a valid README.md
`README.md` is empty.
The README.md file should inform others about your project, what it does, and how they can use it. Check out the guidelines on Writing great package pages.
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("0.0.28").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.
0/10 points: 20% or more of the public API has dartdoc comments
102 out of 1632 API elements (6.3 %) 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: activable_row_list, activable_row_list.ActivableListItemData, activable_row_list.ActivableListItemData.ActivableListItemData.new, activable_row_list.ActivableListItemData.disabled, activable_row_list.ActivableListItemData.id.
10/10 points: Package has an example
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:smart_design_system/smart_design_system.dartthat imports:package:smart_design_system/toggle_icon/smart_toggle_icon.dartthat imports:package:smart_design_system/widgets/pressable_widget.dartthat imports:package:smart_design_system/mixins/vibration.dartthat imports:package:vibration/vibration.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:smart_design_system/smart_design_system.dartthat imports:package:smart_design_system/toggle_icon/smart_toggle_icon.dartthat imports:package:smart_design_system/widgets/pressable_widget.dartthat imports:package:smart_design_system/mixins/vibration.dartthat imports:package:vibration/vibration.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:smart_design_system/smart_design_system.dartthat imports:package:smart_design_system/toggle_icon/smart_toggle_icon.dartthat imports:package:smart_design_system/widgets/pressable_widget.dartthat imports:package:smart_design_system/mixins/vibration.dartthat imports:package:vibration/vibration.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:smart_design_system/smart_design_system.dartthat imports:package:smart_design_system/toggle_icon/smart_toggle_icon.dartthat imports:package:smart_design_system/widgets/pressable_widget.dartthat imports:package:smart_design_system/mixins/vibration.dartthat imports:package:vibration/vibration.dartthat declares support for platforms:Android,iOS.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:smart_design_system/smart_design_system.dartthat imports:package:smart_design_system/toggle_icon/smart_toggle_icon.dartthat imports:package:smart_design_system/widgets/pressable_widget.dartthat imports:package:smart_design_system/mixins/vibration.dartthat imports:package:vibration/vibration.dartthat imports:package:vibration_platform_interface/vibration_platform_interface.dartthat imports:package:vibration_platform_interface/src/method_channel_vibration.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:smart_design_system/smart_design_system.dartthat imports:package:smart_design_system/toggle_icon/smart_toggle_icon.dartthat imports:package:smart_design_system/widgets/pressable_widget.dartthat imports:package:smart_design_system/mixins/vibration.dartthat imports:package:vibration/vibration.dartthat imports:package:vibration_platform_interface/vibration_platform_interface.dartthat imports:package:vibration_platform_interface/src/method_channel_vibration.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:smart_design_system/smart_design_system.dartthat imports:package:smart_design_system/toggle_icon/smart_toggle_icon.dartthat imports:package:smart_design_system/widgets/pressable_widget.dartthat imports:package:smart_design_system/mixins/vibration.dartthat imports:package:vibration/vibration.dartthat imports:package:vibration_platform_interface/vibration_platform_interface.dartthat imports:package:vibration_platform_interface/src/method_channel_vibration.dartthat imports:package:device_info_plus/device_info_plus.dartthat 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.cn/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 55 issues. Showing the first 2:
WARNING: The declaration '_setupCubit' isn't referenced.
lib/generic_features/smart/smart_feature_builder.dart:97:38
╷
97 │ static SmartCubit<Payload, Result> _setupCubit<Payload, Result>({
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/generic_features/smart/smart_feature_builder.dart
WARNING: The left operand can't be null, so the right operand is never executed.
lib/mixins/vibration.dart:6:23
╷
6 │ if (canVibrate ?? false) await Vibration.vibrate(duration: duration ?? 5);
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/mixins/vibration.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
beamer |
^1.6.1 |
1.7.0 | 1.7.0 | |
dartz |
^0.10.1 |
0.10.1 | 0.10.1 | |
dropdown_button2 |
^2.3.9 |
2.3.9 | 2.3.9 | |
flutter_bloc |
^8.1.5 |
8.1.6 | 9.1.1 | |
flutter_multi_formatter |
^2.12.8 |
2.13.10 | 2.13.10 | |
flutter_svg |
^2.0.10+1 |
2.2.2 | 2.2.2 | |
freezed_annotation |
^2.4.4 |
2.4.4 | 3.1.0 | |
google_fonts |
^6.2.1 |
6.3.2 | 6.3.2 | |
intl |
^0.19.0 |
0.19.0 | 0.20.2 | |
json_annotation |
^4.9.0 |
4.9.0 | 4.9.0 | |
package_info_plus |
^8.1.1 |
8.3.1 | 9.0.0 | |
pinput |
^4.0.0 |
4.0.0 | 5.0.2 | |
shimmer |
^3.0.0 |
3.0.0 | 3.0.0 | |
vibration |
^3.1.3 |
3.1.4 | 3.1.4 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
base58check |
- | 2.0.0 | 2.0.0 | |
bech32 |
- | 0.2.2 | 0.2.2 | |
bloc |
- | 8.1.4 | 9.1.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
device_info_plus |
- | 12.2.0 | 12.2.0 | |
device_info_plus_platform_interface |
- | 7.0.3 | 7.0.3 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.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 | |
nested |
- | 1.0.0 | 1.0.0 | |
package_info_plus_platform_interface |
- | 3.2.1 | 3.2.1 | |
path |
- | 1.9.1 | 1.9.1 | |
path_parsing |
- | 1.1.0 | 1.1.0 | |
path_provider |
- | 2.1.5 | 2.1.5 | |
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 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
provider |
- | 6.1.5+1 | 6.1.5+1 | |
smart_auth |
- | 2.0.0 | 3.2.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 | |
universal_platform |
- | 1.1.0 | 1.1.0 | |
vector_graphics |
- | 1.1.19 | 1.1.19 | |
vector_graphics_codec |
- | 1.1.13 | 1.1.13 | |
vector_graphics_compiler |
- | 1.1.19 | 1.1.19 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
vibration_platform_interface |
- | 0.1.1 | 0.1.1 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 5.15.0 | 5.15.0 | |
win32_registry |
- | 2.1.0 | 2.1.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 6.6.1 | 6.6.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 5 issues. Showing the first 2:
The constraint `^8.1.5` on flutter_bloc does not support the stable version `9.0.0`.
Try running dart pub upgrade --major-versions flutter_bloc to update the constraint.
The constraint `^2.4.4` on freezed_annotation does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions freezed_annotation to update the constraint.
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.0, Flutter 3.35.7, Dart 3.9.2.
Check the analysis log for details.