nutrition_ai_module 0.0.1 nutrition_ai_module: ^0.0.1 copied to clipboard
Passio Nutrition AI Module for Flutter. Supports Android and iOS.
We analyzed this package 3 days ago, and awarded it 80 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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
18 out of 132 API elements (13.6 %) 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: nutrition_ai_module
, nutrition_ai_module.Conversion
, nutrition_ai_module.Conversion.value
, nutrition_ai_module.FoodRecord
, nutrition_ai_module.FoodRecord.FoodRecord
.
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:nutrition_ai_module/nutrition_ai_module.dart
that imports:package:nutrition_ai_module/src/nutrition_ai_module_sdk.dart
that imports:package:nutrition_ai_module/src/pages/splash/splash_page.dart
that imports:package:nutrition_ai_module/src/pages/splash/bloc/splash_bloc.dart
that imports:package:nutrition_ai/nutrition_ai.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:nutrition_ai_module/nutrition_ai_module.dart
that imports:package:nutrition_ai_module/src/nutrition_ai_module_sdk.dart
that imports:package:nutrition_ai_module/src/pages/splash/splash_page.dart
that imports:package:nutrition_ai_module/src/pages/splash/bloc/splash_bloc.dart
that imports:package:nutrition_ai/nutrition_ai.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:nutrition_ai_module/nutrition_ai_module.dart
that imports:package:nutrition_ai_module/src/nutrition_ai_module_sdk.dart
that imports:package:nutrition_ai_module/src/pages/splash/splash_page.dart
that imports:package:nutrition_ai_module/src/pages/splash/bloc/splash_bloc.dart
that imports:package:nutrition_ai/nutrition_ai.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:nutrition_ai_module/nutrition_ai_module.dart
that imports:package:nutrition_ai_module/src/nutrition_ai_module_sdk.dart
that imports:package:nutrition_ai_module/src/pages/splash/splash_page.dart
that imports:package:nutrition_ai_module/src/pages/splash/bloc/splash_bloc.dart
that imports:package:nutrition_ai/nutrition_ai.dart
that declares support for platforms:Android
,iOS
.
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.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 33 issues. Showing the first 2:
ERROR: '_MultiFoodScanPageState.recognitionResults' ('void Function(FoodCandidates)') isn't a valid override of 'FoodRecognitionListener.recognitionResults' ('void Function(FoodCandidates, PlatformImage?)').
lib/src/pages/multi_food_scan/multi_food_scan_page.dart:76:8
╷
76 │ void recognitionResults(FoodCandidates foodCandidates) {
│ ^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/pages/multi_food_scan/multi_food_scan_page.dart
ERROR: '_QuickFoodScanPageState.recognitionResults' ('void Function(FoodCandidates)') isn't a valid override of 'FoodRecognitionListener.recognitionResults' ('void Function(FoodCandidates, PlatformImage?)').
lib/src/pages/quick_food_scan/quick_food_scan_page.dart:249:8
╷
249 │ void recognitionResults(FoodCandidates foodCandidates) {
│ ^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/pages/quick_food_scan/quick_food_scan_page.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
auto_size_text |
^3.0.0 |
3.0.0 | 3.0.0 |
connectivity_plus |
^4.0.1 |
4.0.2 | 6.1.1 |
envied |
^0.3.0+3 |
0.3.0+3 | 1.0.0 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_bloc |
^8.1.1 |
8.1.6 | 8.1.6 |
flutter_screenutil |
^5.5.4 |
5.9.3 | 5.9.3 |
flutter_slidable |
^3.0.0 |
3.1.2 | 3.1.2 |
get_it |
^7.6.0 |
7.7.0 | 8.0.3 |
intl |
^0.18.0 |
0.18.1 | 0.20.1 |
json_annotation |
^4.8.1 |
4.9.0 | 4.9.0 |
json_serializable |
^6.7.0 |
6.9.2 | 6.9.2 |
loading_indicator |
^3.1.1 |
3.1.1 | 3.1.1 |
nutrition_ai |
^0.0.6 |
0.0.10 | 3.2.3 |
path |
^1.8.3 |
1.9.1 | 1.9.1 |
permission_handler |
^10.2.0 |
10.4.5 | 11.3.1 |
shared_preferences |
^2.1.2 |
2.3.4 | 2.3.4 |
sqflite |
^2.3.0 |
2.4.1 | 2.4.1 |
syncfusion_flutter_charts |
^22.2.11 |
22.2.12 | 28.1.36 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
_fe_analyzer_shared |
- | 78.0.0 | 78.0.0 |
_macros |
- | 0.3.3 | 0.3.3 |
analyzer |
- | 7.1.0 | 7.1.0 |
args |
- | 2.6.0 | 2.6.0 |
async |
- | 2.12.0 | 2.12.0 |
bloc |
- | 8.1.4 | 8.1.4 |
build |
- | 2.4.2 | 2.4.2 |
build_config |
- | 1.1.2 | 1.1.2 |
characters |
- | 1.3.0 | 1.4.0 |
checked_yaml |
- | 2.0.3 | 2.0.3 |
clock |
- | 1.1.2 | 1.1.2 |
collection |
- | 1.19.0 | 1.19.1 |
connectivity_plus_platform_interface |
- | 1.2.4 | 2.0.1 |
convert |
- | 3.1.2 | 3.1.2 |
crypto |
- | 3.0.6 | 3.0.6 |
dart_style |
- | 3.0.1 | 3.0.1 |
dbus |
- | 0.7.10 | 0.7.10 |
ffi |
- | 2.1.3 | 2.1.3 |
file |
- | 7.0.1 | 7.0.1 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
glob |
- | 2.1.2 | 2.1.2 |
js |
- | 0.6.7 | 0.7.1 |
logging |
- | 1.3.0 | 1.3.0 |
macros |
- | 0.1.3-main.0 | 0.1.3-main.0 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
nested |
- | 1.0.0 | 1.0.0 |
nm |
- | 0.5.0 | 0.5.0 |
package_config |
- | 2.1.1 | 2.1.1 |
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 |
permission_handler_android |
- | 10.3.6 | 12.0.13 |
permission_handler_apple |
- | 9.1.4 | 9.4.5 |
permission_handler_platform_interface |
- | 3.12.0 | 4.2.3 |
permission_handler_windows |
- | 0.1.3 | 0.2.1 |
petitparser |
- | 6.0.2 | 6.0.2 |
platform |
- | 3.1.6 | 3.1.6 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
provider |
- | 6.1.2 | 6.1.2 |
pub_semver |
- | 2.1.5 | 2.1.5 |
pubspec_parse |
- | 1.4.0 | 1.4.0 |
shared_preferences_android |
- | 2.4.0 | 2.4.0 |
shared_preferences_foundation |
- | 2.5.4 | 2.5.4 |
shared_preferences_linux |
- | 2.4.1 | 2.4.1 |
shared_preferences_platform_interface |
- | 2.4.1 | 2.4.1 |
shared_preferences_web |
- | 2.4.2 | 2.4.2 |
shared_preferences_windows |
- | 2.4.1 | 2.4.1 |
sky_engine |
- | 0.0.0 | 0.0.0 |
source_gen |
- | 2.0.0 | 2.0.0 |
source_helper |
- | 1.3.5 | 1.3.5 |
source_span |
- | 1.10.1 | 1.10.1 |
sqflite_android |
- | 2.4.0 | 2.4.0 |
sqflite_common |
- | 2.5.4+6 | 2.5.4+6 |
sqflite_darwin |
- | 2.4.1 | 2.4.1 |
sqflite_platform_interface |
- | 2.4.0 | 2.4.0 |
string_scanner |
- | 1.4.1 | 1.4.1 |
syncfusion_flutter_core |
- | 22.2.12 | 28.1.36 |
synchronized |
- | 3.3.0+3 | 3.3.0+3 |
term_glyph |
- | 1.2.2 | 1.2.2 |
typed_data |
- | 1.4.0 | 1.4.0 |
vector_math |
- | 2.1.4 | 2.1.4 |
watcher |
- | 1.1.1 | 1.1.1 |
web |
- | 1.1.0 | 1.1.0 |
xdg_directories |
- | 1.1.0 | 1.1.0 |
xml |
- | 6.5.0 | 6.5.0 |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 7 issues. Showing the first 2:
The constraint `^4.0.1` on connectivity_plus does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions connectivity_plus
to update the constraint.
The constraint `^0.3.0+3` on envied does not support the stable version `0.5.0`.
Try running dart pub upgrade --major-versions envied
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.22.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.