flutter_ai_operator 0.1.1
flutter_ai_operator: ^0.1.1 copied to clipboard
Build in-app AI agents in Flutter with one chat API for Gemini, OpenAI, and Claude - function calling, typed errors, and optional GoRouter navigation context.
We analyzed this package 36 hours ago, and awarded it 140 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
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
80 out of 125 API elements (64.0 %) have documentation comments.
Some symbols that are missing documentation: flutter_ai_operator, flutter_ai_operator.AIConfiguration.AIConfiguration.new, flutter_ai_operator.AIConfiguration.copyWith, flutter_ai_operator.AIProviderEmptyResponseFailure.AIProviderEmptyResponseFailure.new, flutter_ai_operator.AIProviderExtension.
10/10 points: Package has an example
10/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:flutter_ai_operator/flutter_ai_operator.dartthat imports:package:flutter_ai_operator/src/service/ai_service_factory.dartthat imports:package:flutter_ai_operator/src/service/gemini/gemini_ai_service.dartthat imports:package:firebase_ai/firebase_ai.dartthat declares support for platforms:Android,iOS,macOS,Web.
Package does not support platform `Linux`.
Because:
package:flutter_ai_operator/flutter_ai_operator.dartthat imports:package:flutter_ai_operator/src/service/ai_service_factory.dartthat imports:package:flutter_ai_operator/src/service/gemini/gemini_ai_service.dartthat imports:package:firebase_ai/firebase_ai.dartthat declares support for platforms:Android,iOS,macOS,Web.
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:flutter_ai_operator/flutter_ai_operator.dartthat imports:package:flutter_ai_operator/src/service/ai_service_factory.dartthat imports:package:flutter_ai_operator/src/service/gemini/gemini_ai_service.dartthat imports:package:firebase_ai/firebase_ai.dartthat imports:package:firebase_ai/src/server_template/template_chat.dartthat imports:package:firebase_ai/src/base_model.dartthat imports:package:firebase_ai/src/live_session.dartthat imports:package:web_socket_channel/io.dartthat imports:package:web_socket/io_web_socket.dartthat imports:package:web_socket/src/io_web_socket.dartthat imports:dart:io
WASM compatibility:
Package not compatible with runtime wasm
Because:
package:flutter_ai_operator/flutter_ai_operator.dartthat imports:package:flutter_ai_operator/src/service/ai_service_factory.dartthat imports:package:flutter_ai_operator/src/service/gemini/gemini_ai_service.dartthat imports:package:firebase_ai/firebase_ai.dartthat imports:package:firebase_ai/src/server_template/template_chat.dartthat imports:package:firebase_ai/src/base_model.dartthat imports:package:firebase_ai/src/live_session.dartthat imports:package:web_socket_channel/io.dartthat imports:package:web_socket/io_web_socket.dartthat imports:package:web_socket/src/io_web_socket.dartthat imports:dart:io
Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.
50/50 points: code has no errors, warnings, lints, or formatting issues
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
dio |
^5.11.1 |
5.11.1 | 5.11.1 | |
either_dart |
^1.0.0 |
1.0.0 | 1.0.0 | |
firebase_ai |
^5.1.0 |
5.1.0 | 5.1.0 | |
firebase_core |
^5.1.0 |
5.1.0 | 5.1.0 | |
go_router |
^17.5.0 |
17.5.0 | 18.1.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_flutterfire_internals |
- | 1.3.79 | 1.3.79 | |
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.8 | 3.0.8 | |
dio_web_adapter |
- | 2.2.2 | 2.2.2 | |
firebase_app_check |
- | 0.5.1 | 0.5.1 | |
firebase_app_check_platform_interface |
- | 0.5.1+3 | 0.5.1+3 | |
firebase_app_check_web |
- | 0.3.1+3 | 0.3.1+3 | |
firebase_auth |
- | 7.0.1 | 7.0.1 | |
firebase_auth_platform_interface |
- | 9.1.2 | 9.1.2 | |
firebase_auth_web |
- | 6.3.2 | 6.3.2 | |
firebase_core_platform_interface |
- | 8.1.1 | 8.1.1 | |
firebase_core_web |
- | 4.1.0 | 4.1.0 | |
http |
- | 1.6.0 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
mime |
- | 2.1.0 | 2.1.0 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
source_span |
- | 1.10.2 | 1.10.2 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.4.4 | 2.4.4 | |
web |
- | 1.1.2 | 1.1.2 | |
web_socket |
- | 1.0.1 | 1.0.1 | |
web_socket_channel |
- | 3.0.3 | 3.0.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^17.5.0` on go_router does not support the stable version `18.0.0`.
Try running dart pub upgrade --major-versions go_router 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.23.19, Flutter 3.47.9, Dart 3.13.7.
Check the analysis log for details.