nutrition_ai
3.3.0, released 5 months ago by passio.ai
Passio Nutrition AI SDK for food recognition, nutrition data, and dietary assistant chat.
$ flutter pub add nutrition_aiWhat it does
Provides real-time food recognition using the device camera, nutritional information lookup, barcode scanning, and a conversational nutrition advisor.
AI-written summary of version 3.3.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You are building a diet, fitness, or health app requiring food recognition.
- You need to scan food barcodes and read nutrition facts labels.
- You want to integrate a conversational nutrition AI advisor.
Skip it when
- Your app does not require food and nutrition tracking.
- You cannot obtain a valid Passio SDK key.
Strengths
- Real-time camera food recognition without storing photos by default.
- Built-in nutrition advisor chat supporting text and image inputs.
- Comprehensive nutrition information including ingredients and serving sizes.
Weaknesses
- Requires a paid subscription and a valid SDK key from Passio to function.
- Platform support is limited to Android (SDK 26+) and iOS (13.0+).
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 2
Requires signing up at Passio AI for an SDK key, configuring minimum SDK versions (Android 26+, iOS 13.0+), and requesting camera permissions.
void configureSDK() async {
var configuration = PassioConfiguration("Your_PassioSDK_Key");
var passioStatus = await NutritionAI.instance.configureSDK(configuration);
}Alternatives
Packages that do the same job and could replace nutrition_ai.
- mcp_dart
Dart and Flutter SDK for building Model Context Protocol clients, servers, and AI tools.
94Compare - dart_openai
Unofficial Dart and Flutter SDK for the OpenAI API and compatible providers.
86Compare - xybrid_flutter
Run ML models on-device or in the cloud with hybrid routing and streaming inference.
80Compare - chat_gpt_sdk
A Dart and Flutter SDK for OpenAI APIs including GPT-4, GPT-5, o1, and assistants.
66Compare
Works with
Packages commonly used together with nutrition_ai: ones it builds on, ones built on it, and its own family.