nutrition_ai_module 0.0.1 copy "nutrition_ai_module: ^0.0.1" to clipboard
nutrition_ai_module: ^0.0.1 copied to clipboard

outdated

Passio Nutrition AI Module for Flutter. Supports Android and iOS.

80/ 160
pub points
32
downloads

We analyzed this package 4 days ago, and awarded it 80 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Failed check 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.

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

Partially passed check 0/10 points: 20% or more of the public API has dartdoc comments

18 out of 137 API elements (13.1 %) 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.from.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 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.
Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 29 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

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
auto_size_text ^3.0.0 3.0.0 3.0.0
connectivity_plus ^4.0.1 4.0.2 7.0.0
envied ^0.3.0+3 0.3.0+3 1.3.2
flutter_bloc ^8.1.1 8.1.6 9.1.1
flutter_screenutil ^5.5.4 5.9.3 5.9.3
flutter_slidable ^3.0.0 3.1.2 4.0.3
get_it ^7.6.0 7.7.0 9.2.0
intl ^0.18.0 0.18.1 0.20.2
json_annotation ^4.8.1 4.9.0 4.9.0
json_serializable ^6.7.0 6.11.3 6.11.3
loading_indicator ^3.1.1 3.1.1 3.1.1
nutrition_ai ^0.0.6 0.0.10 3.2.12
path ^1.8.3 1.9.1 1.9.1
permission_handler ^10.2.0 10.4.5 12.0.1
shared_preferences ^2.1.2 2.5.4 2.5.4
sqflite ^2.3.0 2.4.2 2.4.2
syncfusion_flutter_charts ^22.2.11 22.2.12 32.1.20
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 92.0.0 92.0.0
analyzer - 9.0.0 9.0.0
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
bloc - 8.1.4 9.1.0
build - 4.0.3 4.0.3
build_config - 1.2.0 1.2.0
characters - 1.4.0 1.4.1
checked_yaml - 2.0.4 2.0.4
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
connectivity_plus_platform_interface - 1.2.4 2.0.1
convert - 3.1.2 3.1.2
crypto - 3.0.7 3.0.7
dart_style - 3.1.3 3.1.3
dbus - 0.7.11 0.7.11
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
glob - 2.1.3 2.1.3
js - 0.6.7 0.7.2 Discontinued
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
nested - 1.0.0 1.0.0
nm - 0.5.0 0.5.0
package_config - 2.2.0 2.2.0
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 13.0.1
permission_handler_apple - 9.1.4 9.4.7
permission_handler_platform_interface - 3.12.0 4.3.0
permission_handler_windows - 0.1.3 0.2.1
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
pub_semver - 2.2.0 2.2.0
pubspec_parse - 1.5.0 1.5.0
shared_preferences_android - 2.4.18 2.4.18
shared_preferences_foundation - 2.5.6 2.5.6
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
source_gen - 4.1.1 4.1.1
source_helper - 1.3.9 1.3.9
source_span - 1.10.1 1.10.1
sqflite_android - 2.4.2+2 2.4.2+2
sqflite_common - 2.5.6 2.5.6
sqflite_darwin - 2.4.2 2.4.2
sqflite_platform_interface - 2.4.0 2.4.0
string_scanner - 1.4.1 1.4.1
syncfusion_flutter_core - 22.2.12 32.1.20
synchronized - 3.4.0 3.4.0
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0
watcher - 1.2.0 1.2.0
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0
xml - 6.6.1 6.6.1
yaml - 3.1.3 3.1.3

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 9 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.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.3, Flutter 3.38.4, Dart 3.10.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: