dartantic_firebase_ai 0.2.2
dartantic_firebase_ai: ^0.2.2 copied to clipboard
Firebase AI provider for dartantic_ai. Provides access to Google's Gemini models through Firebase with App Check security and Firebase Auth integration.
We analyzed this package in the last hour, 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: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
89 out of 89 API elements (100.0 %) have documentation comments.
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:dartantic_firebase_ai/dartantic_firebase_ai.dartthat declares support for platforms:Android,iOS,macOS,Web.
Package does not support platform `Linux`.
Because:
package:dartantic_firebase_ai/dartantic_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:dartantic_firebase_ai/dartantic_firebase_ai.dartthat imports:package:dartantic_firebase_ai/src/firebase_ai_provider.dartthat imports:package:dartantic_firebase_ai/src/firebase_ai_media_generation_model.dartthat imports:package:dartantic_firebase_ai/src/firebase_message_mappers.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:dartantic_firebase_ai/dartantic_firebase_ai.dartthat imports:package:dartantic_firebase_ai/src/firebase_ai_provider.dartthat imports:package:dartantic_firebase_ai/src/firebase_ai_media_generation_model.dartthat imports:package:dartantic_firebase_ai/src/firebase_message_mappers.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.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: 'vertexAI' is deprecated and shouldn't be used. Use agentPlatform() instead. Note that the default location for agentPlatform is now "global" instead of "us-central1".
lib/src/firebase_ai_chat_model.dart:186:52
╷
186 │ FirebaseAIBackend.vertexAI => fai.FirebaseAI.vertexAI(
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/firebase_ai_chat_model.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
dartantic_interface |
^4.0.1 |
4.0.1 | 4.0.1 | |
firebase_ai |
^3.13.1 |
3.15.0 | 4.0.0 | |
firebase_app_check |
^0.4.5 |
0.4.7 | 0.4.7 | |
firebase_auth |
^6.5.4 |
6.6.1 | 6.6.1 | |
firebase_core |
^4.11.0 |
4.14.0 | 4.14.0 | |
logging |
^1.3.0 |
1.3.0 | 1.3.0 | |
meta |
^1.18.0 |
1.19.0 | 1.19.0 | |
uuid |
^4.5.3 |
4.6.0 | 4.6.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_flutterfire_internals |
- | 1.3.77 | 1.3.77 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.3 | 1.1.3 | |
collection |
- | 1.19.1 | 1.19.1 | |
cross_file |
- | 0.3.5+5 | 0.3.5+5 | |
crypto |
- | 3.0.7 | 3.0.7 | |
decimal |
- | 3.2.6 | 3.2.6 | |
email_validator |
- | 3.0.0 | 3.0.0 | |
firebase_app_check_platform_interface |
- | 0.4.2+1 | 0.4.2+1 | |
firebase_app_check_web |
- | 0.2.6+1 | 0.2.6+1 | |
firebase_auth_platform_interface |
- | 9.0.7 | 9.0.7 | |
firebase_auth_web |
- | 6.2.7 | 6.2.7 | |
firebase_core_platform_interface |
- | 8.1.1 | 8.1.1 | |
firebase_core_web |
- | 3.11.0 | 3.11.0 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
genai_primitives |
- | 0.2.4 | 0.2.4 | |
http |
- | 1.6.0 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
intl |
- | 0.20.3 | 0.20.3 | |
json_schema_builder |
- | 0.1.6 | 0.1.6 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
mime |
- | 2.1.0 | 2.1.0 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
rational |
- | 2.2.3 | 2.2.3 | |
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.2 | 2.4.2 | |
web |
- | 1.1.1 | 1.1.1 | |
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 `^3.13.1` on firebase_ai does not support the stable version `4.0.0`, that was published 4 days ago.
When firebase_ai is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions firebase_ai 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.18, Flutter 3.47.0, Dart 3.13.0.
Check the analysis log for details.