salesgent_ui_components 0.0.82
salesgent_ui_components: ^0.0.82 copied to clipboard
Salesgent Flutter App UI Components
We analyzed this package 32 hours ago, and awarded it 50 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://github.com/salesgent/flutter-ui-component 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
10/10 points: Use an OSI-approved license
Detected license: MIT.
0/10 points: 20% or more of the public API has dartdoc comments
35 out of 444 API elements (7.9 %) 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: salesgent_ui_components, salesgent_ui_components.BluetoothScanner, salesgent_ui_components.BluetoothScanner.BluetoothScanner.new, salesgent_ui_components.BluetoothScanner.addToCartApiCall, salesgent_ui_components.BluetoothScanner.allowProcessInvoiceForOutOfStock.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add 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:salesgent_ui_components/salesgent_ui_components.dartthat imports:package:salesgent_ui_components/src/screens/scan_barcode_new.dartthat imports:package:ai_barcode_scanner/ai_barcode_scanner.dartthat imports:package:ai_barcode_scanner/src/ai_barcode_scanner.dartthat imports:package:mobile_scanner/mobile_scanner.dartthat declares support for platforms:Android,iOS,macOS,Web.
Package does not support platform `Linux`.
Because:
package:salesgent_ui_components/salesgent_ui_components.dartthat imports:package:salesgent_ui_components/src/screens/scan_barcode_new.dartthat imports:package:permission_handler/permission_handler.dartthat declares support for platforms:Android,iOS,Windows,Web.
Package does not support platform `macOS`.
Because:
package:salesgent_ui_components/salesgent_ui_components.dartthat imports:package:salesgent_ui_components/src/screens/scan_barcode_new.dartthat imports:package:permission_handler/permission_handler.dartthat declares support for platforms:Android,iOS,Windows,Web.
Package does not support platform `Web`.
Because:
package:salesgent_ui_components/salesgent_ui_components.dartthat imports:package:salesgent_ui_components/src/screens/bluetooth_scanner.dartthat imports:package:salesgent_ui_components/src/utils/api_client.dartthat imports:package:salesgent_ui_components/src/utils/reusable.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 `Android`.
Because:
package:salesgent_ui_components/salesgent_ui_components.dartthat imports:package:salesgent_ui_components/src/screens/checkout/checkout_screen.dartthat imports:package:new_version_plus/new_version_plus.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 `iOS`.
Because:
package:salesgent_ui_components/salesgent_ui_components.dartthat imports:package:salesgent_ui_components/src/screens/checkout/checkout_screen.dartthat imports:package:new_version_plus/new_version_plus.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.
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 141 issues. Showing the first 2:
ERROR: The name 'CarouselController' is defined in the libraries 'package:carousel_slider/carousel_controller.dart (via package:carousel_slider/carousel_slider.dart)' and 'package:flutter/src/material/carousel.dart (via package:flutter/material.dart)'.
lib/src/components/home_banner/home_banner.dart:339:22
╷
339 │ final controller = CarouselController();
│ ^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/components/home_banner/home_banner.dart
ERROR: 'CarouselController' isn't a function.
lib/src/components/home_banner/home_banner.dart:339:22
╷
339 │ final controller = CarouselController();
│ ^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/components/home_banner/home_banner.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
ai_barcode_scanner |
^3.4.3 |
3.4.3 | 7.1.0 | |
audioplayers |
^6.4.0 |
6.5.1 | 6.5.1 | |
bottom_sheet |
^4.0.0 |
4.0.4 | 4.0.4 | |
bouncing_widget |
^2.0.0 |
2.0.0 | 2.0.0 | |
cached_network_image |
^3.4.0 |
3.4.1 | 3.4.1 | |
carousel_slider |
^4.2.1 |
4.2.1 | 5.1.1 | |
dropdown_search |
^5.0.6 |
5.0.6 | 6.0.2 | |
easy_debounce |
^2.0.3 |
2.0.3 | 2.0.3 | |
flutter_cached_pdfview |
^0.4.2 |
0.4.3 | 0.4.3 | |
flutter_keyboard_visibility |
^6.0.0 |
6.0.0 | 6.0.0 | |
flutter_riverpod |
^2.4.10 |
2.6.1 | 3.0.3 | |
flutter_staggered_animations |
^1.1.1 |
1.1.1 | 1.1.1 | |
flutter_svg |
^2.0.10+1 |
2.2.1 | 2.2.1 | |
http |
^1.2.0 |
1.5.0 | 1.5.0 | |
internet_connection_checker |
^1.0.0+1 |
1.0.0+1 | 3.0.1 | |
intl |
^0.19.0 |
0.19.0 | 0.20.2 | |
loading_animation_widget |
^1.2.0+4 |
1.3.0 | 1.3.0 | |
lottie |
^3.0.0 |
3.3.2 | 3.3.2 | |
mobile_scanner |
^4.0.0 |
4.0.1 | 7.1.2 | |
multi_select_flutter |
^4.1.3 |
4.1.3 | 4.1.3 | |
new_version_plus |
^0.0.12 |
0.0.12 | 0.1.1 | |
omni_datetime_picker |
^1.0.9 |
1.1.0 | 2.3.1 | |
path_provider |
^2.1.4 |
2.1.5 | 2.1.5 | |
permission_handler |
^11.1.0 |
11.4.0 | 12.0.1 | |
shared_preferences |
^2.2.2 |
2.5.3 | 2.5.3 | |
skeleton_loader |
^2.0.0+4 |
2.0.0+4 | 2.0.0+4 | |
translator |
^1.0.0 |
1.0.4+1 | 1.0.4+1 | |
url_launcher |
^6.2.5 |
6.3.2 | 6.3.2 | |
video_player |
^2.9.1 |
2.10.0 | 2.10.0 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 10 issues. Showing the first 2:
The constraint `^3.4.3` on ai_barcode_scanner does not support the stable version `5.1.1`.
Try running dart pub upgrade --major-versions ai_barcode_scanner to update the constraint.
The constraint `^4.2.1` on carousel_slider does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions carousel_slider 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 2 errors:
AMBIGUOUS_IMPORT-lib/src/components/home_banner/home_banner.dart:339:22- The name 'CarouselController' is defined in the libraries 'package:carousel_slider/carousel_controller.dart (via package:carousel_slider/carousel_slider.dart)' and 'package:flutter/src/material/carousel.dart (via package:flutter/material.dart)'.INVOCATION_OF_NON_FUNCTION-lib/src/components/home_banner/home_banner.dart:339:22- 'CarouselController' 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.24, Flutter 3.35.5, Dart 3.9.2.
Check the analysis log for details.