google_ml_kit
1.0.3, released 8 days ago by flutter-ml.dev
Umbrella Flutter plugin for Google's standalone ML Kit APIs.
What it does
Groups multiple Vision, Natural Language, and GenAI standalone ML Kit plugins under a single package. It allows Flutter applications to use Google's on-device machine learning capabilities via platform channels. Note that the documentation advises depending on individual packages rather than this umbrella package in production.
AI-written summary of version 1.0.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want to quickly prototype multiple ML Kit features during early development.
- You need on-device machine learning features like barcode scanning, face detection, or text recognition.
Skip it when
- You are building a production app (the README explicitly states: DO NOT USE google_ml_kit in a production app; instead, depend directly on individual plugin packages).
- You want to avoid increasing your app size with unused ML dependencies.
- You need web or non-mobile platforms support.
Strengths
- Provides a single convenient package to access a wide array of ML Kit features during prototyping.
- Covers multiple domains including Vision, Natural Language, and GenAI APIs.
- Supports both Android and iOS platforms for most features.
Weaknesses
- Significantly increases app size because it includes all exported plugins and dependencies.
- Not recommended for production use, requiring manual migration to individual packages later.
- GenAI features have limited Android device compatibility and lack iOS support.
Setup
- Kind
- Flutter widgets
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 20
Requires mobile configuration for Android and iOS. GenAI APIs require devices with AICore support. iOS minimum deployment target is 15.0.
not documentedAlternatives
Packages that do the same job and could replace google_ml_kit.
- googleai_dart
Unofficial Dart client for Google AI Gemini, Vertex AI Gemini, and Live API WebSockets.
86Compare - mediapipe_core
Shared layer for MediaPipe task packages providing runtime, model downloads, and browser support.
80Compare - langchain_google
LangChain.dart integration module for Google AI, Gemini, and VertexAI.
74Compare - gemini_live
A Flutter package for the Gemini Live API, enabling real-time, multimodal conversations with Google's Gemini models.
71Compare
Works with
Packages commonly used together with google_ml_kit: ones it builds on, ones built on it, and its own family.
- google_mlkit_commonsgoogle_ml_kit depends on itCommon classes and utility methods for Google's ML Kit plugins
- google_mlkit_text_recognitiongoogle_ml_kit depends on itFlutter plugin to use Google's ML Kit Text Recognition on Android and iOS.
- google_mlkit_barcode_scanninggoogle_ml_kit depends on itA Flutter plugin to use Google's ML Kit Barcode Scanning on Android and iOS.
- google_mlkit_face_detectiongoogle_ml_kit depends on itFlutter plugin to use Google's ML Kit Face Detection on iOS and Android.
- google_mlkit_translationgoogle_ml_kit depends on itFlutter plugin for Google's ML Kit On-Device Translation.
- google_mlkit_selfie_segmentationgoogle_ml_kit depends on itFlutter plugin to use Google's ML Kit Selfie Segmentation API.
- google_mlkit_language_idgoogle_ml_kit depends on itDetermine the language of a text string using Google's ML Kit.
- google_mlkit_pose_detectiongoogle_ml_kit depends on itFlutter plugin for Google ML Kit Pose Detection on Android and iOS.