The Flutter ecosystem moves fast, and in 2026 the most exciting momentum is around on-device AI. This is a hands-on tour of the open-source libraries worth knowing right now — grouped by what they do, each with a one-line reason to care and a link to dive deeper. Everything here is free and open source.
AI & LLMs (start here)
- flutter_gemma — run Google's Gemma models on-device for a private, offline chatbot. No cloud, no per-token bill. Full guide & demo →
- google_generative_ai — the official Google Gemini SDK: multimodal chat, vision and streaming in about 20 lines of Dart.
- langchain.dart — chains, agents, tools and RAG — the LangChain ecosystem, natively in Dart.
- flutter_ai_toolkit — Google's drop-in AI chat widget with text, image and voice input out of the box.
- ollama_dart — talk to Llama, Mistral and Phi models running locally through Ollama.
On-device machine learning & vision
- google_ml_kit — one plugin for text recognition, face detection, barcode scanning, pose, translation and more.
- tflite_flutter — fast, flexible TensorFlow Lite inference with GPU delegates.
- ultralytics_yolo — real-time YOLO object detection and segmentation on-device.
State management
- Riverpod — compile-safe, testable reactive state; the 2026 default for many teams.
- flutter_bloc — predictable, event-driven state that scales cleanly.
- signals.dart — fine-grained, signals-based reactivity coming to Flutter.
UI, animation & design
- flutter_animate — chainable, declarative animations in a single line.
- Rive — interactive, state-machine-driven vector animations you control at runtime.
- flex_color_scheme — gorgeous, consistent Material 3 light/dark themes, fast.
Backend, data & navigation
- dio — a powerful HTTP client with interceptors, retries and cancellation.
- supabase_flutter — auth, Postgres, realtime and storage — a full open-source backend in minutes.
- Isar — a blazing-fast local NoSQL database with full-text search.
- go_router — declarative routing with deep links and guards, officially backed.
See what's trending, live
Want to know which Flutter and Dart repos are climbing right now? We built a live leaderboard that pulls straight from the GitHub API every time you open it: fluttercook.github.io/trends. It ranks the most-starred and fastest-rising projects across AI, apps and packages.
FlutterCook is publishing 100 hands-on guides to the best open-source Flutter libraries — AI-first. Each one ships with a runnable demo. Follow along and grab the code at github.com/fluttercook, and browse live demos at fluttercook.github.io.
Tags: Flutter, Dart, open source, AI, LLM, on-device AI, state management, libraries, packages
0 comments:
Post a Comment