littlefish_feature_products 1.0.2
littlefish_feature_products: ^1.0.2 copied to clipboard
Products feature package for littlefish merchant app. Contains product-related business logic, UI components, and state management.
We analyzed this package 25 hours ago, and awarded it 110 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Repository URL doesn't exist.
At the time of the analysis https://github.com/littlefishapp/littlefish_merchant_app_mono_repo was unreachable. Make sure that the website is reachable via HEAD requests.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
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
4 out of 28 API elements (14.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: product_discount_service, product_discount_service.ProductDiscountService, product_discount_service.ProductDiscountService.ProductDiscountService.new, product_discount_service.ProductDiscountService.baseUrl, product_discount_service.ProductDiscountService.businessId.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
These platforms are not supported:
Package does not support platform `iOS`.
Because:
package:littlefish_feature_products/littlefish_feature_products.dartthat imports:package:littlefish_feature_products/services/services.dartthat imports:package:littlefish_feature_products/services/product_discount_service.dartthat imports:package:littlefish_core_utils/http/littlefish_http_client.dartthat imports:package:littlefish_core_utils/http/app_info_provider.dartthat imports:package:package_info_plus/package_info_plus.dartthat imports:package:package_info_plus/src/package_info_plus_windows.dartthat imports:package:package_info_plus/src/file_version_info.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `Windows`.
Because:
package:littlefish_feature_products/littlefish_feature_products.dartthat imports:package:littlefish_feature_products/services/services.dartthat imports:package:littlefish_feature_products/services/product_discount_service.dartthat imports:package:littlefish_core_utils/http/littlefish_http_client.dartthat imports:package:littlefish_core_utils/http/app_info_provider.dartthat imports:package:android_id/android_id.dartthat declares support for platforms:Android.
Package does not support platform `Linux`.
Because:
package:littlefish_feature_products/littlefish_feature_products.dartthat imports:package:littlefish_feature_products/services/services.dartthat imports:package:littlefish_feature_products/services/product_discount_service.dartthat imports:package:littlefish_core_utils/http/littlefish_http_client.dartthat imports:package:littlefish_core_utils/http/app_info_provider.dartthat imports:package:package_info_plus/package_info_plus.dartthat imports:package:package_info_plus/src/package_info_plus_windows.dartthat imports:package:package_info_plus/src/file_version_info.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `macOS`.
Because:
package:littlefish_feature_products/littlefish_feature_products.dartthat imports:package:littlefish_feature_products/services/services.dartthat imports:package:littlefish_feature_products/services/product_discount_service.dartthat imports:package:littlefish_core_utils/http/littlefish_http_client.dartthat imports:package:littlefish_core_utils/http/app_info_provider.dartthat imports:package:package_info_plus/package_info_plus.dartthat imports:package:package_info_plus/src/package_info_plus_windows.dartthat imports:package:package_info_plus/src/file_version_info.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `Web`.
Because:
package:littlefish_feature_products/littlefish_feature_products.dartthat imports:package:littlefish_feature_products/services/services.dartthat imports:package:littlefish_feature_products/services/product_discount_service.dartthat imports:package:littlefish_core_utils/http/littlefish_http_client.dartthat imports:package:littlefish_core_utils/http/app_info_provider.dartthat imports:package:android_id/android_id.dartthat declares support for platforms:Android.
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:littlefish_feature_products/littlefish_feature_products.dartthat imports:package:littlefish_feature_products/services/services.dartthat imports:package:littlefish_feature_products/services/product_discount_service.dartthat imports:package:littlefish_core_utils/http/littlefish_http_client.dartthat imports:package:littlefish_core_utils/http/app_info_provider.dartthat imports:package:package_info_plus/package_info_plus.dartthat imports:package:package_info_plus/src/package_info_plus_windows.dartthat imports:package:package_info_plus/src/file_version_info.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: Missing type annotation.
lib/services/product_discount_service.dart:67:52
╷
67 │ Future<ProductDiscount?> getProductDiscountsById(productDiscountId) async {
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/services/product_discount_service.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
^1.19.1 |
1.19.1 | 1.19.1 | |
equatable |
^2.0.8 |
2.1.0 | 2.1.0 | |
fast_contacts |
^5.0.1 |
5.0.1 | 6.0.0 | |
flutter_redux |
^0.10.0 |
0.10.0 | 0.10.0 | |
flutter_svg |
^2.2.3 |
2.3.0 | 2.3.0 | |
intl |
^0.20.2 |
0.20.3 | 0.20.3 | |
littlefish_core |
^4.2.0 |
4.3.0 | 9.0.0 | |
littlefish_core_utils |
^4.2.3 |
4.7.0 | 5.0.2 | |
littlefish_feature_models |
^1.0.2 |
1.0.2 | 2.0.1 | Discontinued |
littlefish_icons |
^1.0.2 |
1.0.5 | 2.0.2 | Discontinued |
quiver |
^3.2.2 |
3.2.2 | 3.2.2 | |
redux |
^5.0.0 |
5.0.0 | 5.0.0 | |
redux_thunk |
^0.4.0 |
0.4.0 | 0.4.0 | |
uuid |
^4.5.2 |
4.6.0 | 4.6.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
android_id |
- | 0.4.1 | 0.5.2+1 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.1 | 2.13.1 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
brotli |
- | 0.6.0 | 0.6.0 | |
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.3 | 1.1.3 | |
cloud_firestore |
- | 3.2.0 | 6.10.0 | |
cloud_firestore_platform_interface |
- | 5.7.5 | 8.0.7 | |
cloud_firestore_web |
- | 2.6.18 | 5.7.3 | |
crypto |
- | 3.0.7 | 3.0.7 | |
device_info_plus |
- | 11.5.0 | 13.2.0 | |
device_info_plus_platform_interface |
- | 7.0.3 | 8.1.0 | |
dio |
- | 5.11.1 | 5.11.1 | |
dio_brotli_transformer |
- | 2.0.0 | 2.0.0 | |
dio_cache_interceptor |
- | 4.0.7 | 4.0.7 | |
dio_web_adapter |
- | 2.2.2 | 2.2.2 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
firebase_core |
- | 1.19.0 | 4.15.0 | |
firebase_core_platform_interface |
- | 4.4.1 | 8.1.1 | |
firebase_core_web |
- | 1.6.5 | 3.12.0 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
flutter_lints |
- | 1.0.4 | 6.0.0 | |
geoflutterfire |
- | 3.0.3 | 3.0.3 | |
get_it |
- | 8.3.0 | 9.2.1 | |
http |
- | 1.6.0 | 1.6.0 | |
http_cache_core |
- | 1.1.4 | 1.1.4 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
json_annotation |
- | 4.12.0 | 4.12.0 | |
lints |
- | 1.0.1 | 6.1.0 | |
logger |
- | 2.8.0 | 2.8.0 | |
matcher |
- | 0.12.20 | 0.12.20 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
material_design_icons_flutter |
- | 7.0.7296 | 7.0.7296 | |
meta |
- | 1.19.0 | 1.19.0 | |
mime |
- | 2.1.0 | 2.1.0 | |
package_info_plus |
- | 8.3.1 | 10.2.1 | |
package_info_plus_platform_interface |
- | 3.2.1 | 4.1.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_parsing |
- | 1.1.0 | 1.1.0 | |
petitparser |
- | 7.0.2 | 7.0.2 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
rxdart |
- | 0.27.7 | 0.28.0 | |
source_span |
- | 1.10.2 | 1.10.2 | |
stack_trace |
- | 1.12.2 | 1.12.2 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.14 | 0.7.14 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_graphics |
- | 1.2.3 | 1.2.3 | |
vector_graphics_codec |
- | 1.1.13 | 1.1.13 | |
vector_graphics_compiler |
- | 1.3.0 | 1.3.0 | |
vector_math |
- | 2.4.2 | 2.4.2 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 5.15.0 | 6.4.0 | |
win32_registry |
- | 2.1.0 | 3.0.3 | |
xml |
- | 7.0.1 | 7.0.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 6 issues. Showing the first 2:
The constraint `^5.0.1` on fast_contacts does not support the stable version `6.0.0`.
Try running dart pub upgrade --major-versions fast_contacts to update the constraint.
The constraint `^4.2.0` on littlefish_core does not support the stable version `5.0.1`.
Try running dart pub upgrade --major-versions littlefish_core 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.19, Flutter 3.47.0, Dart 3.13.0.
Check the analysis log for details.